toJson method

Map<String, dynamic> toJson()

Implementation

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