DiscoverPollEndpointResponse.fromJson constructor

DiscoverPollEndpointResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DiscoverPollEndpointResponse.fromJson(Map<String, dynamic> json) {
  return DiscoverPollEndpointResponse(
    endpoint: json['endpoint'] as String?,
    telemetryEndpoint: json['telemetryEndpoint'] as String?,
  );
}