FailureDetail.fromJson constructor

FailureDetail.fromJson(
  1. Map _json
)

Implementation

FailureDetail.fromJson(core.Map _json)
    : this(
        crashed: _json.containsKey('crashed')
            ? _json['crashed'] as core.bool
            : null,
        deviceOutOfMemory: _json.containsKey('deviceOutOfMemory')
            ? _json['deviceOutOfMemory'] as core.bool
            : null,
        failedRoboscript: _json.containsKey('failedRoboscript')
            ? _json['failedRoboscript'] as core.bool
            : null,
        notInstalled: _json.containsKey('notInstalled')
            ? _json['notInstalled'] as core.bool
            : null,
        otherNativeCrash: _json.containsKey('otherNativeCrash')
            ? _json['otherNativeCrash'] as core.bool
            : null,
        timedOut: _json.containsKey('timedOut')
            ? _json['timedOut'] as core.bool
            : null,
        unableToCrawl: _json.containsKey('unableToCrawl')
            ? _json['unableToCrawl'] as core.bool
            : null,
      );