toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (additionalInfo != null) 'additionalInfo': additionalInfo!,
if (ariaLabel != null) 'ariaLabel': ariaLabel!,
if (formatInfo != null) 'formatInfo': formatInfo!,
if (type != null) 'type': type!,
};