toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.mailServerDomain != null) {
    json[r'mailServerDomain'] = this.mailServerDomain;
  } else {
    json[r'mailServerDomain'] = null;
  }
    json[r'emailAddress'] = this.emailAddress;
  if (this.senderEmailAddress != null) {
    json[r'senderEmailAddress'] = this.senderEmailAddress;
  } else {
    json[r'senderEmailAddress'] = null;
  }
  if (this.port != null) {
    json[r'port'] = this.port;
  } else {
    json[r'port'] = null;
  }
  return json;
}