Loading...
Searching...
No Matches
LocationInfo Class Reference

General information about location. More...

Public Member Functions

 LocationInfo (this.id, this.version, this.name)
 Default constructor.
 

Public Attributes

int id
 Unique location identifier.
 
int version
 Current location version.
 
String name
 location name.
 

Detailed Description

General information about location.

Referenced from: LocationListListener, LocationListListener

Definition at line 19 of file location_info.dart.

Constructor & Destructor Documentation

◆ LocationInfo()

LocationInfo.LocationInfo ( this. id,
this. version,
this. name )

Default constructor.

Member Data Documentation

◆ id

int LocationInfo.id

Unique location identifier.

Dart code snippet:

// Get location ID
int id = locationInfo.id;
print("Location ID: $id");

Definition at line 31 of file location_info.dart.

◆ name

String LocationInfo.name

location name.

Dart code snippet:

// Get location name
String name = locationInfo.name;
print("Location name: $name");

Definition at line 51 of file location_info.dart.

◆ version

int LocationInfo.version

Current location version.

Dart code snippet:

// Get location version
int version = locationInfo.version;
print("Location version: $version");

Definition at line 41 of file location_info.dart.


The documentation for this class was generated from the following file: