toJson method

Map<String, dynamic> toJson()

Implementation

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