handleMethod method
Implementation
Future<dynamic> handleMethod(MethodCall call) async {
switch (call.method) {
case "onWebViewCreated":
pullToRefreshController?.initMethodChannel(id);
if (onWebViewCreated != null) {
onWebViewCreated!(webViewController);
}
break;
default:
throw UnimplementedError("Unimplemented ${call.method} method");
}
return null;
}