Outcome.fromJson constructor

Outcome.fromJson(
  1. Map json_
)

Implementation

Outcome.fromJson(core.Map json_)
    : this(
        failureDetail: json_.containsKey('failureDetail')
            ? FailureDetail.fromJson(
                json_['failureDetail'] as core.Map<core.String, core.dynamic>)
            : null,
        inconclusiveDetail: json_.containsKey('inconclusiveDetail')
            ? InconclusiveDetail.fromJson(json_['inconclusiveDetail']
                as core.Map<core.String, core.dynamic>)
            : null,
        skippedDetail: json_.containsKey('skippedDetail')
            ? SkippedDetail.fromJson(
                json_['skippedDetail'] as core.Map<core.String, core.dynamic>)
            : null,
        successDetail: json_.containsKey('successDetail')
            ? SuccessDetail.fromJson(
                json_['successDetail'] as core.Map<core.String, core.dynamic>)
            : null,
        summary: json_.containsKey('summary')
            ? json_['summary'] as core.String
            : null,
      );