Test.fromJson constructor
Factory constructor for creating a Test
instance from a JSON map.
Implementation
factory Test.fromJson(Map<String, dynamic> json) {
return Test(
id: json['id'] as int,
name: json['name'] as String,
suiteID: json['suiteID'] as int,
groupIDs: List<int>.from(json['groupIDs'] as List<dynamic>),
line: json['line'] as int?,
column: json['column'] as int?,
url: json['url'] as String?,
rootLine: json['root_line'] as int?,
rootColumn: json['root_column'] as int?,
rootUrl: json['root_url'] as String?,
);
}