mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-25 03:03:50 +03:00
16 lines
408 B
Dart
16 lines
408 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).setFromString(deviceInfoJson);
|
|
}
|
|
}
|