getSublocationId abstract method
Returns current sublocation ID if set, otherwise null.
Example:
int? currentId = _locationWindow!.getSublocationId();
if (currentId != null) {
print("Current sublocation id: $currentId");
} else {
print("Current sublocation id is not set");
}
Implementation
int? getSublocationId();