Emitter class

Properties

chunks Map<String, List<Uint8List>>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>
getter/setter pair
internetConnectivityCallBack InternetConnectivityCallBack?
getter/setter pair
internetManager ↔ InternetManager
getter/setter pair
myId String
getter/setter pair
onConnect OnConnectCallBack?
getter/setter pair
onMessage OnMessageCallBack?
getter/setter pair
onPresence OnPresenceCallBack?
getter/setter pair
onSubscribe OnSubscribeCallBack?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sockett bool
getter/setter pair
state Stream<bool>
getter/setter pair
user String?
getter/setter pair

Methods

byteToChunks(Uint8List largeByteArray) List<Uint8List>
checkConnectivity() → void
chunkstoFile(Map<String, dynamic> message) → dynamic
connect({required String clientId, required bool reconnectivity, required String refId, required String authorizationToken, required String projectId, required String host, required String port}) Future<bool>
disconnect() → void
disconnectSocket() → dynamic
generateMd5(String groupkey) → dynamic
getInternetStatus() Future<bool>
getMe({int timeout = 5000}) Future
getPresence(String key, String channel, {int timeout = 5000}) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish(String key, String channel, Map<String, dynamic> message, int ttl) Future
publishMessage(String key, String channel, Map<String, dynamic> message, int ttl) → dynamic
publishNotification(Map<String, dynamic> message) → dynamic
subscribe(String key, String channel, {int last = 0}) Future<Subscription>
subscribePresence(String key, String channel, bool changes, bool status) int
toString() String
A string representation of this object.
inherited
unsubscribe(String key, String channel) → void

Operators

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

Static Properties

instance Emitter
no setter