Group.fromJson constructor

Group.fromJson(
  1. Map<String, dynamic> json
)

Factory constructor for creating a Group instance from a JSON map.

Implementation

factory Group.fromJson(Map<String, dynamic> json) {
  return Group(
    id: json['id'] as int,
    name: json['name'] as String,
    suiteID: json['suiteID'] as int,
    parentID: json['parentID'] as int?,
    testCount: json['testCount'] as int,
    line: json['line'] as int?,
    column: json['column'] as int?,
    url: json['url'] as String?,
  );
}