onTap property
void Function(dynamic attributes, LatLng location)?
onTap
final
Function to call when a Marker is tapped
Implementation
final void Function(dynamic attributes, LatLng location)? onTap;