toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (componentUpgrades != null) 'componentUpgrades': componentUpgrades!,
if (createTime != null) 'createTime': createTime!,
if (description != null) 'description': description!,
if (endTime != null) 'endTime': endTime!,
if (estimatedDuration != null) 'estimatedDuration': estimatedDuration!,
if (etag != null) 'etag': etag!,
if (name != null) 'name': name!,
if (schedule != null) 'schedule': schedule!,
if (startVersion != null) 'startVersion': startVersion!,
if (state != null) 'state': state!,
if (targetVersion != null) 'targetVersion': targetVersion!,
if (type != null) 'type': type!,
if (uid != null) 'uid': uid!,
if (updateTime != null) 'updateTime': updateTime!,
if (version != null) 'version': version!,
};