toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (creationTime != null) 'creationTime': creationTime!,
if (creator != null) 'creator': creator!,
if (imageVersion != null) 'imageVersion': imageVersion!,
if (instance != null) 'instance': instance!,
if (instanceId != null) 'instanceId': instanceId!,
if (instancePreemptionNoticeReceived != null)
'instancePreemptionNoticeReceived': instancePreemptionNoticeReceived!,
if (machineType != null) 'machineType': machineType!,
if (osRelease != null) 'osRelease': osRelease!,
if (version != null) 'version': version!,
if (zone != null) 'zone': zone!,
};