TaskAttemptResult.fromJson constructor

TaskAttemptResult.fromJson(
  1. Map json_
)

Implementation

TaskAttemptResult.fromJson(core.Map json_)
    : this(
        exitCode: json_.containsKey('exitCode')
            ? json_['exitCode'] as core.int
            : null,
        status: json_.containsKey('status')
            ? GoogleRpcStatus.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
      );