TestDetails.fromJson constructor

TestDetails.fromJson(
  1. Map _json
)

Implementation

TestDetails.fromJson(core.Map _json)
    : this(
        errorMessage: _json.containsKey('errorMessage')
            ? _json['errorMessage'] as core.String
            : null,
        progressMessages: _json.containsKey('progressMessages')
            ? (_json['progressMessages'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );