toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (body != null) 'body': body!,
      if (bodyFormat != null) 'bodyFormat': bodyFormat!,
      if (customized != null) 'customized': customized!,
      if (replyTo != null) 'replyTo': replyTo!,
      if (senderDisplayName != null) 'senderDisplayName': senderDisplayName!,
      if (senderLocalPart != null) 'senderLocalPart': senderLocalPart!,
      if (subject != null) 'subject': subject!,
    };