readAllJson method
Read All Active Json Records
Implementation
Future<List<JsonRecord>> readAllJson() async {
if (!isOpened) throw Exception('You Should Call -> SMDB.open()');
List<JsonRecord> list = [];
for (var rec in _indexedDB.allActiveRecordList) {
if (rec.type != RecordType.json) continue;
list.add(rec as JsonRecord);
}
return list;
}