mirror of
https://gitlab.com/mysocialportal/relatica
synced 2024-10-18 20:33:32 +00:00
23 lines
463 B
Dart
23 lines
463 B
Dart
|
class CircleData {
|
||
|
static final followersPseudoCircle = CircleData('~', 'Followers');
|
||
|
|
||
|
final String id;
|
||
|
|
||
|
final String name;
|
||
|
|
||
|
CircleData(this.id, this.name);
|
||
|
|
||
|
@override
|
||
|
String toString() {
|
||
|
return 'CircleData{id: $id, name: $name}';
|
||
|
}
|
||
|
|
||
|
@override
|
||
|
bool operator ==(Object other) =>
|
||
|
identical(this, other) ||
|
||
|
other is CircleData && runtimeType == other.runtimeType && id == other.id;
|
||
|
|
||
|
@override
|
||
|
int get hashCode => id.hashCode;
|
||
|
}
|