toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (endTime != null) 'endTime': endTime!,
  if (metadata != null) 'metadata': metadata!,
  if (plugin != null) 'plugin': plugin!,
  if (pluginInstance != null) 'pluginInstance': pluginInstance!,
  if (startTime != null) 'startTime': startTime!,
  if (type != null) 'type': type!,
  if (typeInstance != null) 'typeInstance': typeInstance!,
  if (values != null) 'values': values!,
};