MapModel constructor

MapModel(
  1. WidgetModel parent,
  2. String? id, {
  3. String? style,
  4. dynamic zoom,
  5. MapTypes? mapType,
  6. dynamic visible,
  7. dynamic showAll,
})

Implementation

MapModel(
  WidgetModel super.parent,
  super.id, {
  this.style,
  dynamic zoom,
  this.mapType,
  dynamic visible,
  dynamic showAll,
}) {
  // instantiate busy observable
  busy = false;
  this.zoom = zoom;
  this.visible = visible;
  this.showAll = (showAll ?? true);
}