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.

20 lines
425 B

2 years ago
import 'package:equatable/equatable.dart';
2 years ago
import 'package:json_annotation/json_annotation.dart';
2 years ago
part 'state_model.g.dart';
@JsonSerializable()
class StateModel extends Equatable{
bool sms;
bool phone;
factory StateModel.fromJson(Map<String, dynamic> json) =>_$StateModelFromJson(json);
StateModel({
required this.sms,
required this.phone,
});
@override
List<Object?> get props => [sms,phone];
}