updateUserFeature static method

Future<bool?> updateUserFeature({
  1. required String userId,
  2. required String feature,
})

Update fingerprint feature data for an existing user

Implementation

static Future<bool?> updateUserFeature({required String userId, required String feature}) async {
  try {
    return await _channel.invokeMethod('updateUserFeature', <String, String>{
      'id': userId,
      'data': feature
    });
  } catch (e) {
    return false;
  }
}