PlatformMethodCallHandler class abstract

Constructors

PlatformMethodCallHandler()

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

handlePlatformMethod(MethodCall call) Future
处理平台的调用
invokePlatformMethod(String serviceName, String method, {Map<String, dynamic>? arguments}) Future<Map<String, dynamic>?>
调用平台的接口
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 Properties

instance PlatformMethodCallHandler
getter/setter pair
services Map<String, Service>
final