toJson method

Map<String, dynamic> toJson()

Implementation

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