import 'package:json_annotation/json_annotation.dart'; part 'vip_rule_details.g.dart'; @JsonSerializable(explicitToJson: true) class VipRuleDetails { String? rule = ''; String? contrast = ''; String? qa = ''; String? recharge = ''; VipRuleDetails(); factory VipRuleDetails.fromJson(Map json) => _$VipRuleDetailsFromJson(json); Map toJson() => _$VipRuleDetailsToJson(this); }