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