toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final body = this.body;
  final subject = this.subject;
  return {
    'Body': body,
    'Subject': subject,
  };
}