MapModel constructor

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

Implementation

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

  this.style = style;
  this.zoom = zoom;
  this.visible = visible;
  this.mapType = mapType;
  this.showAll = (showAll ?? true);
}