toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.domain != null) {
    json[r'domain'] = this.domain;
  } else {
    json[r'domain'] = null;
  }
  if (this.volume != null) {
    json[r'volume'] = this.volume;
  } else {
    json[r'volume'] = null;
  }
  if (this.deliverable != null) {
    json[r'deliverable'] = this.deliverable;
  } else {
    json[r'deliverable'] = null;
  }
  if (this.reject != null) {
    json[r'reject'] = this.reject;
  } else {
    json[r'reject'] = null;
  }
  if (this.unknown != null) {
    json[r'unknown'] = this.unknown;
  } else {
    json[r'unknown'] = null;
  }
  if (this.catchAll != null) {
    json[r'catchAll'] = this.catchAll;
  } else {
    json[r'catchAll'] = null;
  }
  return json;
}