MarkerData class

Data model for a map marker.

Constructors

MarkerData({required LatLng position, required String title, required String description, required String id, String? address, bool isLocal = false, bool isSaving = false, Color color = Colors.blue, bool isEncrypted = false})

Properties

address String?
final
color Color
Custom color for this marker (from settings).
final
coordinates String
no setter
description String
final
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for this place (needed for delete operation).
final
isEncrypted bool
Whether this marker is from encrypted storage.
final
isLocal bool
Whether this marker is from local assets (canned examples).
final
isSaving bool
Whether this marker is currently being saved.
final
position LatLng
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited