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
457 B
19 lines
457 B
2 years ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
import 'package:equatable/equatable.dart';
|
||
|
part 'phone_num_model.g.dart';
|
||
|
|
||
|
|
||
|
@JsonSerializable()
|
||
|
class PhoneNumModel extends Equatable{
|
||
|
final String num;
|
||
|
final int time;
|
||
|
factory PhoneNumModel.fromJson(Map<String, dynamic> json) =>_$PhoneNumModelFromJson(json);
|
||
|
|
||
|
|
||
|
const PhoneNumModel({
|
||
|
required this.num,
|
||
|
required this.time,
|
||
|
});
|
||
|
@override
|
||
|
List<Object?> get props => [num,time,];
|
||
|
}
|