mirror of
https://gitlab.com/mysocialportal/relatica
synced 2024-10-19 18:43:32 +00:00
22 lines
457 B
Dart
22 lines
457 B
Dart
|
import 'connection.dart';
|
||
|
|
||
|
class FollowRequest {
|
||
|
final Connection connection;
|
||
|
final DateTime createdAt;
|
||
|
|
||
|
const FollowRequest({
|
||
|
required this.connection,
|
||
|
required this.createdAt,
|
||
|
});
|
||
|
|
||
|
@override
|
||
|
bool operator ==(Object other) =>
|
||
|
identical(this, other) ||
|
||
|
other is FollowRequest &&
|
||
|
runtimeType == other.runtimeType &&
|
||
|
connection == other.connection;
|
||
|
|
||
|
@override
|
||
|
int get hashCode => connection.hashCode;
|
||
|
}
|