toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (endTime != null) 'endTime': endTime!,
      if (executionSpec != null) 'executionSpec': executionSpec!,
      if (labels != null) 'labels': labels!,
      if (message != null) 'message': message!,
      if (name != null) 'name': name!,
      if (retryCount != null) 'retryCount': retryCount!,
      if (service != null) 'service': service!,
      if (serviceJob != null) 'serviceJob': serviceJob!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
      if (trigger != null) 'trigger': trigger!,
      if (uid != null) 'uid': uid!,
    };