handleMethodCall method

Future handleMethodCall(
  1. MethodCall call
)

Abstract method that subclasses must implement to handle method calls

Implementation

Future<dynamic> handleMethodCall(MethodCall call) {
  throw PlatformException(
    code: 'Unimplemented',
    message: 'The method ${call.method} is not implemented.',
    details: 'Method was called with arguments: ${call.arguments}',
  );
}