mirror of
https://gitlab.com/mysocialportal/relatica
synced 2024-10-19 16:23:37 +00:00
22 lines
456 B
Dart
22 lines
456 B
Dart
class GroupData {
|
|
final String id;
|
|
|
|
@override
|
|
bool operator ==(Object other) =>
|
|
identical(this, other) ||
|
|
other is GroupData &&
|
|
runtimeType == other.runtimeType &&
|
|
id == other.id &&
|
|
name == other.name;
|
|
|
|
@override
|
|
int get hashCode => id.hashCode ^ name.hashCode;
|
|
final String name;
|
|
|
|
GroupData(this.id, this.name);
|
|
|
|
@override
|
|
String toString() {
|
|
return 'GroupData{id: $id, name: $name}';
|
|
}
|
|
}
|