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
553 B

import 'package:equatable/equatable.dart';
2 years ago
import 'package:json_annotation/json_annotation.dart';
part 'phone_num_model.g.dart';
@JsonSerializable()
2 years ago
class PhoneNumModel extends Equatable{
2 years ago
final String? num;
final int? time;
final String? name;
bool state ;
factory PhoneNumModel.fromJson(Map<String, dynamic> json) =>_$PhoneNumModelFromJson(json);
2 years ago
PhoneNumModel({
2 years ago
required this.name,
required this.num,
required this.time,
2 years ago
required this.state,
});
@override
2 years ago
List<Object?> get props => [num,time,name,state];
}