import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:yubico_authenticator/management/models.dart'; import '../app/models.dart'; import '../core/state.dart'; final managementStateProvider = StateNotifierProvider.autoDispose .family, DevicePath>( (ref, devicePath) => throw UnimplementedError(), ); abstract class ManagementStateNotifier extends ApplicationStateNotifier { Future writeConfig(DeviceConfig config, {String currentLockCode = '', String newLockCode = '', bool reboot = false}); Future setMode(int mode, {int challengeResponseTimeout = 0, int autoEjectTimeout = 0}); }