DynamicEndpointConfig.fromJson constructor

DynamicEndpointConfig.fromJson(
  1. Map json_
)

Implementation

DynamicEndpointConfig.fromJson(core.Map json_)
    : this(
        clientStatus: json_.containsKey('clientStatus')
            ? json_['clientStatus'] as core.String
            : null,
        endpointConfig: json_.containsKey('endpointConfig')
            ? json_['endpointConfig'] as core.Map<core.String, core.dynamic>
            : null,
        errorState: json_.containsKey('errorState')
            ? UpdateFailureState.fromJson(
                json_['errorState'] as core.Map<core.String, core.dynamic>)
            : null,
        lastUpdated: json_.containsKey('lastUpdated')
            ? json_['lastUpdated'] as core.String
            : null,
        versionInfo: json_.containsKey('versionInfo')
            ? json_['versionInfo'] as core.String
            : null,
      );