import 'package:json_annotation/json_annotation.dart'; import 'package:equatable/equatable.dart'; part 'exclude_pn_model.g.dart'; @JsonSerializable() class ExcludePnModel extends Equatable{ final String? phone; final String? remark; factory ExcludePnModel.fromJson(Map json) =>_$ExcludePnModelFromJson(json); const ExcludePnModel({ required this.phone, required this.remark, }); @override List get props => [phone,remark]; }