mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-12-15 02:54:18 -05:00
29 lines
760 B
Dart
29 lines
760 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 IdentityMaster remoteIdentity;
|
|
final TypedKey remoteConversationRecordKey;
|
|
final TypedKey localConversationRecordKey;
|
|
|
|
@override
|
|
List<Object?> get props => [
|
|
remoteProfile,
|
|
remoteIdentity,
|
|
remoteConversationRecordKey,
|
|
localConversationRecordKey
|
|
];
|
|
}
|