dispatchMethodCall abstract method

Future dispatchMethodCall({
  1. required BuildContext context,
  2. required MethodCall call,
})

Send a method call to be picked up by a feature

Helper for deep decoupling of features.

param: context - Current context (to be passed to the handler) param: call - A MethodCall object (with name and settings) to call out to

Implementation

Future<dynamic> dispatchMethodCall(
    {required BuildContext context, required MethodCall call});