PropertyService constructor
Implementation
PropertyService() {
// Escucha los cambios en la conectividad para intentar sincronizar pendientes
Connectivity().onConnectivityChanged.listen((ConnectivityResult result) {
if (result != ConnectivityResult.none) {
checkAndSyncPendingProperties();
}
});
}