BasicNativeChannel class

very naive and basic method calling helpers for managing invoking native side method channels

the functions here are meant to deal with result only channels, where parameters are not really necessary

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

safeInvoke(MethodChannel channel, String methodName) Future<Result<Null, String>>
safeInvokeBool(MethodChannel channel, String methodName) Future<Result<bool, String>>
safely invokes a method that returns a bool from the native side