toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (lastTransitionTime != null)
'lastTransitionTime': lastTransitionTime!,
if (message != null) 'message': message!,
if (reason != null) 'reason': reason!,
if (severity != null) 'severity': severity!,
if (status != null) 'status': status!,
if (type != null) 'type': type!,
};