RouteBookmarks class
Route bookmarks class.
Create an instance using RouteBookmarks.create method.
Constructors
- RouteBookmarks.create(String name)
- 
          Creates a new RouteBookmarks object based on a path.
            factory
Properties
- autoDeleteMode ↔ bool
- 
  Get auto delete mode.
  getter/setter pair
- filePath → String
- 
  Get bookmarks collection path.
  no setter
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- pointerId → int
- 
  
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- size → int
- 
  Get the number of routes.
  no setter
- sortOrder ← RouteBookmarksSortOrder
- 
  Change the sort order of the routes.
  no getter
Methods
- 
  add(String name, List< Landmark> waypoints, {RoutePreferences? preferences, bool overwrite = false}) → void
- Add a new route or update an existing one.
- 
  addTrips(String filename) → int 
- Add trips from the given filename.
- 
  clear() → void 
- Clear all route bookmarks.
- 
  dispose() → void 
- 
  
  inherited
- 
  exportToFile(int index, String path) → GemError 
- Export the route to the given file.
- 
  find(String name) → int 
- Find a trip by name.
- 
  getName(int index) → String? 
- Get the name of the route specified by index.
- 
  getPreferences(int index) → RoutePreferences? 
- Get preferences of the route specified by index.
- 
  getTimestamp(int index) → DateTime? 
- Get the timestamp of the route specified by index in UTC.
- 
  getWaypoints(int index) → List< Landmark> ?
- Get waypoints of the route specified by index.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  registerAutoReleaseObject(int pointerId) → void 
- 
  Registers an object for auto release.
  inherited
- 
  remove(int index) → void 
- Remove the item at the specified index.
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  update(int index, {String? name, List< Landmark> ? waypoints, RoutePreferences? preferences}) → void
- Update a route.
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited