mirror of
https://gitlab.com/mysocialportal/relatica
synced 2024-10-19 16:23:37 +00:00
21 lines
457 B
Dart
21 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;
|
|
}
|