NativeProtocolClient class final
Protocol client backed by the stable df_abi_version, df_invoke,
df_buffer_free, df_handle_release, df_handle_token_new, and
df_handle_token_release C ABI symbols.
- Inheritance
-
- Object
- ProtocolClient
- NativeProtocolClient
Constructors
- NativeProtocolClient.fromLibrary(DynamicLibrary library)
- NativeProtocolClient.open(String path)
- NativeProtocolClient.process()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- invoker → ProtocolInvoker
-
no setterinherited
- library → DynamicLibrary
-
Strongly held for the complete client/finalizer lifetime.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hello(
) → Future< Map< String, Object?> > -
inherited
-
helloSync(
) → Map< String, Object?> -
inherited
-
invoke(
String command, [Map< String, Object?> arguments = const {}]) → Future<Map< String, Object?> > -
inherited
-
invokeSync(
String command, [Map< String, Object?> arguments = const {}]) → Map<String, Object?> -
inherited
-
nativeCapabilities(
) → Future< NativeHelloCapabilities> -
inherited
-
nativeCapabilitiesSync(
) → NativeHelloCapabilities -
Returns capabilities reported by this particular native library.
These are intentionally separate from Dart's static datatype capability
declarations.
inherited
-
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