Counters.fromJson constructor
Implementation
factory Counters.fromJson(Map<String, dynamic> json) {
return Counters(
errored: json['errored'] as int?,
failed: json['failed'] as int?,
passed: json['passed'] as int?,
skipped: json['skipped'] as int?,
stopped: json['stopped'] as int?,
total: json['total'] as int?,
warned: json['warned'] as int?,
);
}