OSPolicyResourceExecResourceExec.fromJson constructor

OSPolicyResourceExecResourceExec.fromJson(
  1. Map json_
)

Implementation

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