readHeaderFromPath static method
Read Rader From Database Files
Implementation
static Future<(String, int)> readHeaderFromPath(
String dbPath, {
required String type,
required int version,
}) async {
final raf = await File(dbPath).open();
final res = await IndexedDB.readHeader(raf, type: type, version: version);
await raf.close();
return res;
}