Class is used for storing location parameters: identifier, version, name, a list of sublocations, etc. More...
Inherits Finalizable.
Public Member Functions | |
ElevationGraph | getElevationGraph (String tag) |
Method returns location elevation graph ElevationGraph for specified tag. | |
List< String > | getGraphTags () |
Method returns list of available graph tags. | |
Sublocation | getSublocationById (int id) |
Method is used for obtaining a sublocation with the specified identifier from the current location. | |
Category | getCategoryById (int id) |
Method is used for obtaining a category with the specified identifier from the current location. | |
Public Attributes | |
int get | id |
location's identifier. | |
int get | version |
location's version. | |
String get | name |
location name. | |
String get | descript |
location's description. | |
List< Category > get | categories |
List of venue categories defined for the location Category. | |
List< Sublocation > get | sublocations |
List of sublocations Sublocation. | |
bool get | modified |
Flag indicates if location has been modified by user or not. | |
Class is used for storing location parameters: identifier, version, name, a list of sublocations, etc.
Location instance can be obtained from LocationManager using LocationListener callback, when the location is loaded.
Referenced from LocationManager LocationListener.
Definition at line 24 of file location.dart.
Category Location.getCategoryById | ( | int | id | ) |
Method is used for obtaining a category with the specified identifier from the current location.
id | category identifier. |
ElevationGraph Location.getElevationGraph | ( | String | tag | ) |
Method returns location elevation graph ElevationGraph for specified tag.
tag | Graph tag in CMS |
null
. List< String > Location.getGraphTags | ( | ) |
Method returns list of available graph tags.
Sublocation Location.getSublocationById | ( | int | id | ) |
Method is used for obtaining a sublocation with the specified identifier from the current location.
id | sublocation identifier. |
List<Category> get Location.categories |
List of venue categories defined for the location Category.
Definition at line 74 of file location.dart.
String get Location.descript |
location's description.
Definition at line 70 of file location.dart.
int get Location.id |
location's identifier.
Definition at line 58 of file location.dart.
bool get Location.modified |
Flag indicates if location has been modified by user or not.
Definition at line 82 of file location.dart.
String get Location.name |
location name.
Definition at line 66 of file location.dart.
List<Sublocation> get Location.sublocations |
List of sublocations Sublocation.
Definition at line 78 of file location.dart.
int get Location.version |
location's version.
Definition at line 62 of file location.dart.