OSPolicyResourceFile.fromJson constructor
OSPolicyResourceFile.fromJson(
- Map json_
Implementation
OSPolicyResourceFile.fromJson(core.Map json_)
: this(
allowInsecure: json_.containsKey('allowInsecure')
? json_['allowInsecure'] as core.bool
: null,
gcs: json_.containsKey('gcs')
? OSPolicyResourceFileGcs.fromJson(
json_['gcs'] as core.Map<core.String, core.dynamic>)
: null,
localPath: json_.containsKey('localPath')
? json_['localPath'] as core.String
: null,
remote: json_.containsKey('remote')
? OSPolicyResourceFileRemote.fromJson(
json_['remote'] as core.Map<core.String, core.dynamic>)
: null,
);