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