2022-12-08 18:37:30 +00:00
|
|
|
class GroupData {
|
2023-03-21 01:55:47 +00:00
|
|
|
static final followersPseudoGroup = GroupData('~', 'Followers');
|
|
|
|
|
2022-12-08 18:37:30 +00:00
|
|
|
final String id;
|
2023-03-14 03:47:40 +00:00
|
|
|
|
2022-12-08 18:37:30 +00:00
|
|
|
final String name;
|
|
|
|
|
|
|
|
GroupData(this.id, this.name);
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
|
|
|
return 'GroupData{id: $id, name: $name}';
|
|
|
|
}
|
2023-04-18 23:39:52 +00:00
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) =>
|
|
|
|
identical(this, other) ||
|
|
|
|
other is GroupData && runtimeType == other.runtimeType && id == other.id;
|
|
|
|
|
|
|
|
@override
|
|
|
|
int get hashCode => id.hashCode;
|
2022-12-08 18:37:30 +00:00
|
|
|
}
|