import 'package:json_annotation/json_annotation.dart'; part 'subscribe_param.g.dart'; @JsonSerializable(explicitToJson: true) class SubscribeParam { bool? isEnableSubscribe = false; int? dayOrDate = 0; dynamic startAfterDays; dynamic daysValidate; String? subscribeStartTime = ''; String? subscribeEndTime = ''; List? stores = []; SubscribeParam(); factory SubscribeParam.fromJson(Map json) => _$SubscribeParamFromJson(json); Map toJson() => _$SubscribeParamToJson(this); }