This commit is contained in:
hrxiang
2022-04-07 12:22:38 +08:00
parent 71897bcb4e
commit 8b4a35e6b7
6 changed files with 278 additions and 8 deletions

View File

@@ -147,6 +147,16 @@ class UserInfo {
if (value == null || value.trim().isEmpty) return null;
return value;
}
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is UserInfo &&
runtimeType == other.runtimeType &&
userID == other.userID;
@override
int get hashCode => userID.hashCode;
}
class PublicUserInfo {