addMarker method
Implementation
@override
Future<void> addMarker(double latitude, double longitude) async {
try {
await methodChannel.invokeMethod('addMarker', {'latitude': latitude, 'longitude': longitude});
} on PlatformException catch (e) {
throw Exception("Failed to add marker: '${e.message}'.");
}
}