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