toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'id'] = this.id;
    json[r'domain'] = this.domain;
  if (this.catchAllInboxId != null) {
    json[r'catchAllInboxId'] = this.catchAllInboxId;
  } else {
    json[r'catchAllInboxId'] = null;
  }
    json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
    json[r'domainType'] = this.domainType;
    json[r'isVerified'] = this.isVerified;
    json[r'hasMissingRecords'] = this.hasMissingRecords;
  return json;
}