import 'dart:async';

import '../../../../app/app.logger.dart';
import '../../../../app/core/custom_base_view_model.dart';

class MonitoringViewModel extends CustomBaseViewModel {
  final log = getLogger('MonitoringViewModel');

  Future<void> init() async {
    Timer.periodic(const Duration(seconds: 5), (timer) {
      log.i('timer dan refresh data');
      notifyListeners();
    });
  }
}
