toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (body != null) 'body': body!,
      if (customized != null) 'customized': customized!,
      if (disabled != null) 'disabled': disabled!,
      if (format != null) 'format': format!,
      if (from != null) 'from': from!,
      if (fromDisplayName != null) 'fromDisplayName': fromDisplayName!,
      if (fromLocalPart != null) 'fromLocalPart': fromLocalPart!,
      if (locale != null) 'locale': locale!,
      if (replyTo != null) 'replyTo': replyTo!,
      if (subject != null) 'subject': subject!,
    };