MethodChannelBackgroundSocketConnect class

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect({required String url, Map<String, String>? headers}) Future<bool>
override
disconnect() Future<bool>
override
getConnectionStatus() Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage(String message) Future<bool>
override
setBackgroundMode(bool enabled) Future<bool>
override
setOnConnectedCallback(dynamic callback()) → void
override
setOnDisconnectedCallback(dynamic callback(int code, String reason)) → void
override
setOnErrorCallback(dynamic callback(String error)) → void
override
setOnMessageCallback(dynamic callback(String message)) → void
override
startBackgroundService() Future<bool>
override
stopBackgroundService() Future<bool>
override
toString() String
A string representation of this object.
inherited

Operators

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