mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-10-01 06:55:46 -04:00
29 lines
759 B
Dart
29 lines
759 B
Dart
import 'package:equatable/equatable.dart';
|
|
import 'package:meta/meta.dart';
|
|
import 'package:veilid_support/veilid_support.dart';
|
|
|
|
import '../../proto/proto.dart' as proto;
|
|
|
|
@immutable
|
|
class AcceptedContact extends Equatable {
|
|
const AcceptedContact({
|
|
required this.remoteProfile,
|
|
required this.remoteIdentity,
|
|
required this.remoteConversationRecordKey,
|
|
required this.localConversationRecordKey,
|
|
});
|
|
|
|
final proto.Profile remoteProfile;
|
|
final SuperIdentity remoteIdentity;
|
|
final TypedKey remoteConversationRecordKey;
|
|
final TypedKey localConversationRecordKey;
|
|
|
|
@override
|
|
List<Object?> get props => [
|
|
remoteProfile,
|
|
remoteIdentity,
|
|
remoteConversationRecordKey,
|
|
localConversationRecordKey
|
|
];
|
|
}
|