getAllUsers static method

Future<Map<String, String>?> getAllUsers()

Get all users and their fingerprint data from the database

Implementation

static Future<Map<String, String>?> getAllUsers() async {
  try {
    final result = await _channel.invokeMethod('getAllUsers');
    if (result is Map) {
      return Map<String, String>.from(result);
    }
    return null;
  } catch (e) {
    return null;
  }
}