GenericXdsConfig.fromJson constructor

GenericXdsConfig.fromJson(
  1. Map json_
)

Implementation

GenericXdsConfig.fromJson(core.Map json_)
    : this(
        clientStatus: json_.containsKey('clientStatus')
            ? json_['clientStatus'] as core.String
            : null,
        configStatus: json_.containsKey('configStatus')
            ? json_['configStatus'] as core.String
            : null,
        errorState: json_.containsKey('errorState')
            ? UpdateFailureState.fromJson(
                json_['errorState'] as core.Map<core.String, core.dynamic>)
            : null,
        isStaticResource: json_.containsKey('isStaticResource')
            ? json_['isStaticResource'] as core.bool
            : null,
        lastUpdated: json_.containsKey('lastUpdated')
            ? json_['lastUpdated'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        typeUrl: json_.containsKey('typeUrl')
            ? json_['typeUrl'] as core.String
            : null,
        versionInfo: json_.containsKey('versionInfo')
            ? json_['versionInfo'] as core.String
            : null,
        xdsConfig: json_.containsKey('xdsConfig')
            ? json_['xdsConfig'] as core.Map<core.String, core.dynamic>
            : null,
      );