zones property

List<Zone> get zones

List of zones, attached to this sublocation Zone.

Example:

// Get zones
List<Zone> zones = sublocation.getZones();
print('Number of zones: ${zones.length}');

Implementation

List<Zone> get zones;