toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (availability != null) 'availability': availability!,
      if (latency != null) 'latency': latency!,
      if (location != null) 'location': location!,
      if (method != null) 'method': method!,
      if (version != null) 'version': version!,
    };