TestDoneEvent.fromJson constructor
Factory constructor for creating a TestDoneEvent
instance from a JSON map.
Implementation
factory TestDoneEvent.fromJson(Map<String, dynamic> json) {
return TestDoneEvent(
testID: json['testID'] as int,
result: json['result'] as String,
hidden: json['hidden'] as bool,
skipped: json['skipped'] as bool,
);
}