toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (body != null) 'body': body!,
if (header != null) 'header': header!,
if (id != null) 'id': id!,
if (localizedBody != null) 'localizedBody': localizedBody!,
if (localizedHeader != null) 'localizedHeader': localizedHeader!,
};