GoogleCloudRunV2EnvVar.fromJson constructor

GoogleCloudRunV2EnvVar.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRunV2EnvVar.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
        valueSource: json_.containsKey('valueSource')
            ? GoogleCloudRunV2EnvVarSource.fromJson(
                json_['valueSource'] as core.Map<core.String, core.dynamic>)
            : null,
      );