MapLocationModel constructor

MapLocationModel(
  1. WidgetModel parent,
  2. String? id, {
  3. dynamic data,
  4. dynamic latitude,
  5. dynamic longitude,
  6. String? info,
  7. String? infoSnippet,
  8. String? label,
  9. String? marker,
  10. dynamic visible,
})

Implementation

MapLocationModel(WidgetModel super.parent, super.id,
    {dynamic data,
    dynamic latitude,
    dynamic longitude,
    String? info,
    String? infoSnippet,
    this.label,
    String? marker,
    dynamic visible})
    : super(scope: Scope(parent: parent.scope)) {
  this.data = data;
  this.latitude = latitude;
  this.longitude = longitude;

  title = info;
  description = infoSnippet;
  this.marker = marker;
  this.visible = visible;
}