toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (actions != null) 'actions': actions!,
      if (actors != null) 'actors': actors!,
      if (primaryActionDetail != null)
        'primaryActionDetail': primaryActionDetail!,
      if (targets != null) 'targets': targets!,
      if (timeRange != null) 'timeRange': timeRange!,
      if (timestamp != null) 'timestamp': timestamp!,
    };