You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
634 B
24 lines
634 B
import 'package:huixiang/data/preferential.dart'; |
|
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/recharge_act.g.dart'; |
|
import 'dart:convert'; |
|
export 'package:huixiang/generated/json/recharge_act.g.dart'; |
|
|
|
@JsonSerializable() |
|
class RechargeAct { |
|
|
|
List<PreferentialList>? preferentialList = []; |
|
List<String>? channels = []; |
|
bool? isOpen = false; |
|
|
|
RechargeAct(); |
|
|
|
factory RechargeAct.fromJson(Map<String, dynamic> json) => $RechargeActFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $RechargeActToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |