OSPolicyResourceExecResourceExec.fromJson constructor
OSPolicyResourceExecResourceExec.fromJson(
- Map _json
Implementation
OSPolicyResourceExecResourceExec.fromJson(core.Map _json)
: this(
args: _json.containsKey('args')
? (_json['args'] as core.List)
.map<core.String>((value) => value as core.String)
.toList()
: null,
file: _json.containsKey('file')
? OSPolicyResourceFile.fromJson(
_json['file'] as core.Map<core.String, core.dynamic>)
: null,
interpreter: _json.containsKey('interpreter')
? _json['interpreter'] as core.String
: null,
outputFilePath: _json.containsKey('outputFilePath')
? _json['outputFilePath'] as core.String
: null,
script: _json.containsKey('script')
? _json['script'] as core.String
: null,
);