feat:增加消息记录功能
This commit is contained in:
20
lib/models/contact_info.dart
Normal file
20
lib/models/contact_info.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
import 'package:azlistview/azlistview.dart';
|
||||
|
||||
class ContactInfo extends ISuspensionBean {
|
||||
final int id;
|
||||
final String name;
|
||||
final String avatar;
|
||||
String? tagIndex;
|
||||
String? namePinyin;
|
||||
|
||||
ContactInfo({
|
||||
required this.id,
|
||||
required this.name,
|
||||
required this.avatar,
|
||||
this.tagIndex,
|
||||
this.namePinyin,
|
||||
});
|
||||
|
||||
@override
|
||||
String getSuspensionTag() => tagIndex ?? '#';
|
||||
}
|
||||
Reference in New Issue
Block a user