mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 00:57:26 +03:00
16 lines
398 B
Dart
16 lines
398 B
Dart
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
|
|
import '../command_providers.dart';
|
|
import 'impl.dart';
|
|
|
|
class FManagementApiImpl extends FManagementApi {
|
|
final StateNotifierProviderRef _ref;
|
|
|
|
FManagementApiImpl(this._ref) : super();
|
|
|
|
@override
|
|
Future<void> updateDeviceInfo(String deviceInfoJson) async {
|
|
_ref.read(androidYubikeyProvider.notifier).set(deviceInfoJson);
|
|
}
|
|
}
|