ScanRunErrorTrace.fromJson constructor

ScanRunErrorTrace.fromJson(
  1. Map json_
)

Implementation

ScanRunErrorTrace.fromJson(core.Map json_)
    : this(
        code: json_.containsKey('code') ? json_['code'] as core.String : null,
        mostCommonHttpErrorCode: json_.containsKey('mostCommonHttpErrorCode')
            ? json_['mostCommonHttpErrorCode'] as core.int
            : null,
        scanConfigError: json_.containsKey('scanConfigError')
            ? ScanConfigError.fromJson(json_['scanConfigError']
                as core.Map<core.String, core.dynamic>)
            : null,
      );