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.
19 lines
424 B
19 lines
424 B
import 'package:json_annotation/json_annotation.dart';
|
|
import 'package:equatable/equatable.dart';
|
|
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];
|
|
} |