MethodChannelBeacon class

An implementation of BeaconPlatform that uses method channels.

Inheritance

Constructors

MethodChannelBeacon()

Properties

eventChannel EventChannel
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPeer({required String id, required String name, required String publicKey, required String relayServer, required String version}) Future<Map>
override
getBeaconResponse() Stream<String>
override
getPeers() Future<Map>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
operationResponse({required String id, required String? transactionHash}) Future<Map>
override
pair({required String pairingRequest}) Future<Map>
override
pause() Future<Map>
override
permissionResponse({required String id, required String? publicKey, required String? address}) Future<Map>
override
removePeer({required String publicKey}) Future<Map>
override
removePeers() Future<Map>
override
respondExample() Future<void>
override
resume() Future<Map>
override
signPayloadResponse({required String id, required String? signature}) Future<Map>
override
startBeacon() Future<Map>
override
stop() Future<Map>
override
toString() String
A string representation of this object.
inherited

Operators

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