MPFlutter_Wechat_Socket class
Constructors
- MPFlutter_Wechat_Socket.new(JSObject impl)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- impl ↔ JSObject
-
getter/setter pair
- onDone ↔ Function?
-
getter/setter pair
- onError ↔ Function?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
streamCtl
→ StreamController<
Uint8List> -
final
Methods
-
close(
) → Future< void> -
destroy(
) → Future< void> -
listen(
void onData(Uint8List event)?, {Function? onError, void onDone()?, bool? cancelOnError}) → StreamSubscription< Uint8List> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
dynamic data) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
connect(
dynamic host, int port, {Duration? timeout}) → Future< MPFlutter_Wechat_Socket>