isBiometricChanged method

  1. @override
Future<KeyChangedStatus?> isBiometricChanged(
  1. String key
)
override

Implementation

@override
Future<KeyChangedStatus?> isBiometricChanged(String key) async {
  final status = await methodChannel
      .invokeMethod<String>('isBiometricChanged', {'key': key});
  if (status == 'changed') {
    return KeyChangedStatus.changed;
  }
  return KeyChangedStatus.unchanged;
}