FlutterSocket class

Constructors

FlutterSocket()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

closeHeart() Future<void>
关闭心跳
connect({required String url}) Future<void>
连接
connectColse() Future<void>
断开连接
gpsIsOpen() Future<bool>
是否已经开启gps设置
isOpen() Future<bool>
是否已经连接
openGPSSystemPage() Future<void>
跳转到GPS系统设置页面
openHeart() Future<void>
开启心跳
send([String? message]) Future<void>
发送消息