initializeMap method

  1. @override
Future<void> initializeMap(
  1. String apiKey
)
override

Implementation

@override
Future<void> initializeMap(String apiKey) async {
  try {
    await methodChannel.invokeMethod('initializeMap', {'apiKey': apiKey});
  } on PlatformException catch (e) {
    throw Exception("Failed to initialize map: '${e.message}'");
  }
}