import 'package:huixiang/data/preferential.dart'; import 'package:json_annotation/json_annotation.dart'; part 'recharge_act.g.dart'; @JsonSerializable(explicitToJson: true) class RechargeAct { List? preferentialList = []; List? channels = []; bool? isOpen = false; RechargeAct(); factory RechargeAct.fromJson(Map json) => _$RechargeActFromJson(json); Map toJson() => _$RechargeActToJson(this); }