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({ required int interfaces, int challengeResponseTimeout = 0, int? autoEjectTimeout, }); }