endpointStatusFromJson function

EndpointStatus endpointStatusFromJson(
  1. String type
)

Implementation

EndpointStatus endpointStatusFromJson(String type) => EndpointStatus.values.firstWhere((t) => t.name == type);