toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.valid != null) {
    json[r'valid'] = this.valid;
  } else {
    json[r'valid'] = null;
  }
  if (this.invalid != null) {
    json[r'invalid'] = this.invalid;
  } else {
    json[r'invalid'] = null;
  }
  if (this.catchAll != null) {
    json[r'catch_all'] = this.catchAll;
  } else {
    json[r'catch_all'] = null;
  }
  if (this.unknown != null) {
    json[r'unknown'] = this.unknown;
  } else {
    json[r'unknown'] = null;
  }
  if (this.doNotMail != null) {
    json[r'do_not_mail'] = this.doNotMail;
  } else {
    json[r'do_not_mail'] = null;
  }
  return json;
}