SecretVolume.fromJson constructor

SecretVolume.fromJson(
  1. Map json_
)

Implementation

SecretVolume.fromJson(core.Map json_)
  : this(
      mountPath: json_['mountPath'] as core.String?,
      projectId: json_['projectId'] as core.String?,
      secret: json_['secret'] as core.String?,
      versions: (json_['versions'] as core.List?)
          ?.map(
            (value) => SecretVersion.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
    );