setHandler method
(Applicable to iOS only - pass URL to Flutter through 'handle_url' methodCall.method - refer to example)
Implementation
@override
setHandler(Future<dynamic> Function(MethodCall call)? handler) {
methodChannel.setMethodCallHandler(handler);
}