EndpointInfo.fromJson constructor

EndpointInfo.fromJson(
  1. Map json_
)

Implementation

EndpointInfo.fromJson(core.Map json_)
    : this(
        jsonRpcApiEndpoint: json_.containsKey('jsonRpcApiEndpoint')
            ? json_['jsonRpcApiEndpoint'] as core.String
            : null,
        websocketsApiEndpoint: json_.containsKey('websocketsApiEndpoint')
            ? json_['websocketsApiEndpoint'] as core.String
            : null,
      );