readAsync property

Future<Map<String, String>> readAsync

Read all the key-value pairs from the store asynchronously

Implementation

Future<Map<String, String>> get readAsync async => Map.fromEntries(
      (await _db.metadata.where().findAll())
          .map((m) => MapEntry(m.name, m.data)),
    );