MethodChannelZeroNetworkKit class

使用 MethodChannel 实现的平台接口 / Platform interface implementation backed by a MethodChannel.

Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → 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

Methods

getNetworkDetails() → Future<Map<String, Object?>?>
获取原生网络详情 / Get native network details.
override
getPlatformVersion() → Future<String?>
获取平台版本信息,例如 Android 14 / iOS 18.0 / Get the platform version, e.g. Android 14 / iOS 18.0.
override
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