import 'package:json_annotation/json_annotation.dart'; import 'w.dart'; part 'result.g.dart'; @JsonSerializable() class Result { int? sn; bool? ls; int? bg; int? ed; String? pgs; List? rg; List? ws; Result({this.sn, this.ls, this.bg, this.ed, this.pgs, this.rg, this.ws}); factory Result.fromJson(Map json) { return _$ResultFromJson(json); } Map toJson() => _$ResultToJson(this); }