GoogleCloudRunV2SecretVolumeSource.fromJson constructor

GoogleCloudRunV2SecretVolumeSource.fromJson(
  1. Map json_
)

Implementation

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