toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (containerStartTime != null)
        'containerStartTime': containerStartTime!,
      if (event != null) 'event': event!,
      if (metadata != null) 'metadata': metadata!,
    };