GoogleCloudResourcesettingsV1Value.fromJson constructor

GoogleCloudResourcesettingsV1Value.fromJson(
  1. Map json_
)

Implementation

GoogleCloudResourcesettingsV1Value.fromJson(core.Map json_)
    : this(
        booleanValue: json_.containsKey('booleanValue')
            ? json_['booleanValue'] as core.bool
            : null,
        durationValue: json_.containsKey('durationValue')
            ? json_['durationValue'] as core.String
            : null,
        enumValue: json_.containsKey('enumValue')
            ? GoogleCloudResourcesettingsV1ValueEnumValue.fromJson(
                json_['enumValue'] as core.Map<core.String, core.dynamic>)
            : null,
        stringMapValue: json_.containsKey('stringMapValue')
            ? GoogleCloudResourcesettingsV1ValueStringMap.fromJson(
                json_['stringMapValue']
                    as core.Map<core.String, core.dynamic>)
            : null,
        stringSetValue: json_.containsKey('stringSetValue')
            ? GoogleCloudResourcesettingsV1ValueStringSet.fromJson(
                json_['stringSetValue']
                    as core.Map<core.String, core.dynamic>)
            : null,
        stringValue: json_.containsKey('stringValue')
            ? json_['stringValue'] as core.String
            : null,
      );