relatica/lib/models/follow_request.dart
2023-08-04 12:34:51 -04:00

26 lines
664 B
Dart

import 'connection.dart';
class FollowRequest {
final String id;
final Connection connection;
final int createdAtEpochSeconds;
const FollowRequest({
required this.id,
required this.connection,
required this.createdAtEpochSeconds,
});
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is FollowRequest &&
runtimeType == other.runtimeType &&
id == other.id &&
connection == other.connection &&
createdAtEpochSeconds == other.createdAtEpochSeconds;
@override
int get hashCode =>
id.hashCode ^ connection.hashCode ^ createdAtEpochSeconds.hashCode;
}