TestSuite.fromJson constructor

TestSuite.fromJson(
  1. Map json_
)

Implementation

TestSuite.fromJson(core.Map json_)
    : this(
        testCases: json_.containsKey('testCases')
            ? (json_['testCases'] as core.List)
                .map((value) => TestCase.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );