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