ShellTask.fromJson constructor

ShellTask.fromJson(
  1. Map _json
)

Implementation

ShellTask.fromJson(core.Map _json)
    : this(
        command: _json.containsKey('command')
            ? _json['command'] as core.String
            : null,
        exitCode: _json.containsKey('exitCode')
            ? _json['exitCode'] as core.int
            : null,
      );