toJson method
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!,
};