MarkerLayer constructor
const
MarkerLayer(
- dynamic marker, {
- Key? key,
- MarkerLayerOptions? options,
Implementation
const MarkerLayer(
dynamic marker, {
Key? key,
this.options,
}) : assert(marker is Marker || marker is List<Marker>),
marker = marker is Marker ? marker : null,
markers = marker is List<Marker> ? marker : const <Marker>[],
super(key: key, options: options);