toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.mcc != null) {
    json[r'mcc'] = this.mcc;
  } else {
    json[r'mcc'] = null;
  }
  if (this.mnc != null) {
    json[r'mnc'] = this.mnc;
  } else {
    json[r'mnc'] = null;
  }
  if (this.countryCode != null) {
    json[r'countryCode'] = this.countryCode;
  } else {
    json[r'countryCode'] = null;
  }
  if (this.countryName != null) {
    json[r'countryName'] = this.countryName;
  } else {
    json[r'countryName'] = null;
  }
  if (this.operator_ != null) {
    json[r'operator'] = this.operator_;
  } else {
    json[r'operator'] = null;
  }
  if (this.dialCode != null) {
    json[r'dialCode'] = this.dialCode;
  } else {
    json[r'dialCode'] = null;
  }
  return json;
}