toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (actor != null) 'actor': actor!,
      if (detail != null) 'detail': detail!,
      if (target != null) 'target': target!,
      if (timeRange != null) 'timeRange': timeRange!,
      if (timestamp != null) 'timestamp': timestamp!,
    };