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