findAll method

Future<List<WLogModel>> findAll()

findAll

Implementation

Future<List<WLogModel>> findAll() async {
  final recordSnapshots = await _flogsStore.find(await _db);
  return recordSnapshots.map((snapshot) {
    final log = WLogModel.fromJson(snapshot.value);
    log.id = snapshot.key;
    return log;
  }).toList();
}