MethodChannelDhFlutterPlugin class
An implementation of DhFlutterPluginPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- DhFlutterPluginPlatform
- MethodChannelDhFlutterPlugin
Constructors
Properties
- eventChannel → EventChannel
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sink ↔ StreamSubscription?
-
getter/setter pair
Methods
-
addListen(
int channel, int loginId, ValueChanged< CountResult> handleData) → Future<void> -
监听人流量
override
-
clean(
) → Future< void> -
释放资源
override
-
init(
) → Future< void> -
初始化
override
-
login(
LoginParam loginParam) → Future< int> -
登录
override
-
logout(
int id) → Future< bool> -
退出登录
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeListen(
int handleId) → Future< void> -
移除监听
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited