toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'name'] = this.name;
  json[r'is_satellite'] = this.isSatellite;
  if (this.proxyUrl != null) {
    json[r'proxy_url'] = this.proxyUrl;
  } else {
    json[r'proxy_url'] = null;
  }
  return json;
}