TestCases.fromJson constructor
Implementation
factory TestCases.fromJson(Map<String, dynamic> json) {
final runs = json['cases']
?.map((r) => TestCase.fromJson(r))
.toList()
.cast<TestCase>();
return TestCases(
limit: json['limit'],
links: Links.fromJson(json['_links']),
offset: json['offset'],
runs: runs,
size: json['size'],
);
}