GoogleCloudRunV2SecretVolumeSource.fromJson constructor

GoogleCloudRunV2SecretVolumeSource.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRunV2SecretVolumeSource.fromJson(core.Map json_)
    : this(
        defaultMode: json_.containsKey('defaultMode')
            ? json_['defaultMode'] as core.int
            : null,
        items: json_.containsKey('items')
            ? (json_['items'] as core.List)
                .map((value) => GoogleCloudRunV2VersionToPath.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        secret: json_.containsKey('secret')
            ? json_['secret'] as core.String
            : null,
      );