forked from Henry-Hiles/nexus
wip mentions
This commit is contained in:
parent
819512c737
commit
541933a939
11 changed files with 145 additions and 86 deletions
|
|
@ -10,14 +10,4 @@ abstract class FullRoom with _$FullRoom {
|
|||
required String title,
|
||||
required Uri? avatar,
|
||||
}) = _FullRoom;
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
other.runtimeType == runtimeType &&
|
||||
other is FullRoom &&
|
||||
other.avatar == avatar &&
|
||||
other.title == title;
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType, title, avatar);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,16 +17,4 @@ abstract class Space with _$Space {
|
|||
Uri? avatar,
|
||||
Icon? icon,
|
||||
}) = _Space;
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
other.runtimeType == runtimeType &&
|
||||
other is Space &&
|
||||
other.title == title &&
|
||||
other.id == id &&
|
||||
other.icon == icon &&
|
||||
other.avatar == avatar;
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType, title, id, icon, avatar);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue