import 'package:flutter_riverpod/flutter_riverpod.dart';

class BackofficeRefreshSignal extends Notifier<int> {
  @override
  int build() => 0;

  void trigger() => state++;
}

final adminDoctorsRefreshSignalProvider =
    NotifierProvider<BackofficeRefreshSignal, int>(BackofficeRefreshSignal.new);

final doctorFollowupsRefreshSignalProvider =
    NotifierProvider<BackofficeRefreshSignal, int>(BackofficeRefreshSignal.new);
