handleMethod method

  1. @override
Future<void> handleMethod(
  1. MethodCall call
)
override

Implementation

@override
Future<void> handleMethod(MethodCall call) async {
  switch (call.method) {
    case "onError":
      // String error = call.arguments;
      // print("Error: $error");
      // Handle the error
      break;
    case "onMapReady":
      // Handle map ready state
      break;
  }
}