IPairing class abstract

Implementers

Constructors

IPairing()

Properties

hashCode int
The hash code for this object.
no setterinherited
onPairingActivate → Event<PairingActivateEvent>
final
onPairingCreate → Event<PairingEvent>
final
onPairingDelete → Event<PairingEvent>
final
onPairingExpire → Event<PairingEvent>
final
onPairingInvalid → Event<PairingInvalidEvent>
final
onPairingPing → Event<PairingEvent>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activate({required String topic}) Future<void>
checkAndExpire() Future<void>
create({List<List<String>>? methods}) Future<CreateResponse>
disconnect({required String topic}) Future<void>
dispatchEnvelope({required String topic, required String envelope}) → void
getPairing({required String topic}) PairingInfo?
getPairings() List<PairingInfo>
getStore() IPairingStore
init() Future<void>
isValidPairingTopic({required String topic}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pair({required Uri uri, bool activatePairing}) Future<PairingInfo>
ping({required String topic}) Future<void>
register({required String method, required dynamic function(String, JsonRpcRequest, [TransportType]), required ProtocolType type}) → void
sendError(int id, String topic, String method, JsonRpcError error, {EncodeOptions? encodeOptions, RpcOptions? rpcOptions, String? appLink}) Future<void>
sendRequest(String topic, String method, dynamic params, {int? id, int? ttl, EncodeOptions? encodeOptions, String? appLink, bool openUrl = true}) Future
sendResult(int id, String topic, String method, dynamic result, {EncodeOptions? encodeOptions, String? appLink}) Future<void>
setReceiverPublicKey({required String topic, required String publicKey, int? expiry}) Future<void>
toString() String
A string representation of this object.
inherited
updateExpiry({required String topic, required int expiry}) Future<void>
updateMetadata({required String topic, required PairingMetadata metadata}) Future<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited