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. |
Dart code snippet:
| ElevationGraph Location.getElevationGraph | ( | String | tag | ) |
Method returns location elevation graph ElevationGraph for specified tag.
| tag | Graph tag in CMS |
null. Dart code snippet:
| List< String > Location.getGraphTags | ( | ) |
Method returns list of available graph tags.
Dart code snippet:
| Sublocation Location.getSublocationById | ( | int | id | ) |
Method is used for obtaining a sublocation with the specified identifier from the current location.
| id | sublocation identifier. |
Dart code snippet:
| List<Category> get Location.categories |
List of venue categories defined for the location Category.
Dart code snippet:
Definition at line 128 of file location.dart.
| String get Location.descript |
location's description.
Dart code snippet:
Definition at line 118 of file location.dart.
| int get Location.id |
location's identifier.
Dart code snippet:
Definition at line 88 of file location.dart.
| bool get Location.modified |
Flag indicates if location has been modified by user or not.
Dart code snippet:
Definition at line 148 of file location.dart.
| String get Location.name |
location name.
Dart code snippet:
Definition at line 108 of file location.dart.
| List<Sublocation> get Location.sublocations |
List of sublocations Sublocation.
Dart code snippet:
Definition at line 138 of file location.dart.
| int get Location.version |
location's version.
Dart code snippet:
Definition at line 98 of file location.dart.