toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'domain'] = this.domain;
  if (this.description != null) {
    json[r'description'] = this.description;
  } else {
    json[r'description'] = null;
  }
  if (this.createdCatchAllInbox != null) {
    json[r'createdCatchAllInbox'] = this.createdCatchAllInbox;
  } else {
    json[r'createdCatchAllInbox'] = null;
  }
  if (this.domainType != null) {
    json[r'domainType'] = this.domainType;
  } else {
    json[r'domainType'] = null;
  }
  return json;
}