addMarker abstract method

dynamic addMarker(
  1. LatLng point,
  2. dynamic callback(
    1. LatLng point
    )?
)

Add a marker on the map point and returned callback when you clicked on it

Implementation

addMarker(LatLng point, Function(LatLng point)? callback);