toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (endTime != null) 'endTime': endTime!,
  if (initialVersion != null) 'initialVersion': initialVersion!,
  if (startTime != null) 'startTime': startTime!,
  if (startType != null) 'startType': startType!,
  if (state != null) 'state': state!,
  if (targetVersion != null) 'targetVersion': targetVersion!,
};