yubioath-flutter/lib/android/api/flutter_management_api_impl.dart
2022-03-04 17:07:12 +01:00

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);
}
}