ZeroNet class

Available Extensions

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

cmd(String cmdStr, {dynamic params = const {}, int? id, MessageCallback? callback, bool isWrapperCmd = false}) → void
cmdFuture(String cmdStr, {dynamic params = const {}, bool isWrapperCmd = false}) Future<ResponseResult>
connect(String site, {String ip = '127.0.0.1', String port = '43110', bool override = false, String? wrapperKey_, MessageCallback? onEventMessage}) Future<void>
connectWrapper(String site, {String ip = '127.0.0.1', String port = '43110'}) Future<void>
getWrapperKey(String url, {bool override = false}) Future<String?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMessage(dynamic message) → void
respond({int to = 1, dynamic result = 1, int? id, void callback(dynamic)?}) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ZeroNet
no setter
isInitialised bool
getter/setter pair
wrapperKey String
getter/setter pair