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,
);