location property

int get location

location's identifier to which the sublocation belongs.

Example:

// Get location ID
int locationId = sublocation.getLocation();
print('Sublocation location ID: $locationId');

Implementation

int get location;