Flogs icon indicating copy to clipboard operation
Flogs copied to clipboard

getAllLogsByFilter failed

Open bigbang489 opened this issue 2 years ago • 3 comments

I got the error when call FLog.getAllLogsByFilter(...)

Unhandled Exception: type 'Future<List<RecordSnapshot<int, Map<String, Object?>>>>' is not a subtype of type 'FutureOr<List<RecordSnapshot<int, Map<String, Object>>>>' in type cast #0 FlogDao.getAllSortedByFilter package:f_logs/…/local/flog_dao.dart:85 #1 FLog.getAllLogsByFilter package:f_logs/…/flog/flog.dart:300

bigbang489 avatar Apr 24 '22 04:04 bigbang489

Check https://github.com/zubairehman/Flogs/issues/61#issuecomment-877187076 please, is the same maybe

slc1973 avatar Apr 25 '22 22:04 slc1973

Check #61 (comment) please, is the same maybe

I don't think its the same issue, getAllLogs also failed with the same error

bigbang489 avatar Apr 25 '22 22:04 bigbang489

Please try out the latest version of flogs (f_logs: ^2.0.1) and let me know if the issue still persists. Thanks

zubairehman avatar Apr 26 '22 05:04 zubairehman