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 parent, String?  id,
 {
   dynamic data,
   dynamic latitude,
   dynamic longitude,
   String? info,
   String? infoSnippet,
   this.label,
   String? marker,
   dynamic visible
}) : super(parent, id, scope: Scope(parent: parent.scope))
{
  this.data         = data;
  this.latitude     = latitude;
  this.longitude    = longitude;

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