FavoriteLocationHelper class
Helper used to set/unset stores as user favorites.
Constructors
- FavoriteLocationHelper()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isFavorite(
LocalDatabase localDatabase, OsmLocation location) → bool - Returns true if a store was flagged as favorite.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFavorite(
LocalDatabase localDatabase, OsmLocation location, bool isFavorite) → Future< void> -
Sets a store as a favorite store (or not, depending on
isFavorite). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited