ExitInfo.fromJson constructor

ExitInfo.fromJson(
  1. Map json_
)

Implementation

ExitInfo.fromJson(core.Map json_)
    : this(
        error:
            json_.containsKey('error') ? json_['error'] as core.String : null,
        exitCode: json_.containsKey('exitCode')
            ? json_['exitCode'] as core.int
            : null,
      );