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