toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deployment != null) 'deployment': deployment!,
      if (duration != null) 'duration': duration!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (profileBytes != null) 'profileBytes': profileBytes!,
      if (profileType != null) 'profileType': profileType!,
      if (startTime != null) 'startTime': startTime!,
    };