toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (endTimestamp != null) 'endTimestamp': endTimestamp!,
  if (exception != null) 'exception': exception!,
  if (isActive != null) 'isActive': isActive!,
  if (name != null) 'name': name!,
  if (runId != null) 'runId': runId!,
  if (startTimestamp != null) 'startTimestamp': startTimestamp!,
  if (streamingQueryId != null) 'streamingQueryId': streamingQueryId!,
};