CustomerIOMethodChannelExtensions extension

on

Methods

invokeNativeMethod<T>(String method, [Map<String, dynamic> arguments = const {}]) Future<T?>

Available on MethodChannel, provided by the CustomerIOMethodChannelExtensions extension

Invokes a native method and returns the result. Logs exceptions internally without propagating them.
invokeNativeMethodVoid(String method, [Map<String, dynamic> arguments = const {}]) → void

Available on MethodChannel, provided by the CustomerIOMethodChannelExtensions extension

Simplifies invoking a native method that doesn't return a value.