2024-02-20 17:57:05 -05:00
|
|
|
import 'package:equatable/equatable.dart';
|
2024-01-25 20:33:56 -05:00
|
|
|
import 'package:meta/meta.dart';
|
|
|
|
import 'package:veilid_support/veilid_support.dart';
|
|
|
|
|
|
|
|
import '../../proto/proto.dart' as proto;
|
|
|
|
|
|
|
|
@immutable
|
2024-02-20 17:57:05 -05:00
|
|
|
class AcceptedContact extends Equatable {
|
2024-01-25 20:33:56 -05:00
|
|
|
const AcceptedContact({
|
2024-01-29 22:38:19 -05:00
|
|
|
required this.remoteProfile,
|
2024-01-25 20:33:56 -05:00
|
|
|
required this.remoteIdentity,
|
|
|
|
required this.remoteConversationRecordKey,
|
|
|
|
required this.localConversationRecordKey,
|
|
|
|
});
|
|
|
|
|
2024-01-29 22:38:19 -05:00
|
|
|
final proto.Profile remoteProfile;
|
2024-06-07 14:42:04 -04:00
|
|
|
final SuperIdentity remoteIdentity;
|
2024-01-25 20:33:56 -05:00
|
|
|
final TypedKey remoteConversationRecordKey;
|
|
|
|
final TypedKey localConversationRecordKey;
|
2024-02-20 17:57:05 -05:00
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object?> get props => [
|
|
|
|
remoteProfile,
|
|
|
|
remoteIdentity,
|
|
|
|
remoteConversationRecordKey,
|
|
|
|
localConversationRecordKey
|
|
|
|
];
|
2024-01-25 20:33:56 -05:00
|
|
|
}
|