fix: resolve 2 remaining strict analysis errors

- introPage.dart: Convert fireItems to proper static function closure
- mainDrawer.dart: Convert unreadCount int to String for Text widget
This commit is contained in:
vjrj 2026-03-06 11:21:06 +01:00
parent 1864e5b105
commit 7a4c9fb3bc
61 changed files with 1386 additions and 1202 deletions

View file

@ -1,10 +1,10 @@
import 'package:objectid/objectid.dart';
ObjectId objectIdFromJson(String json) {
return new ObjectId.fromHexString(
json.replaceFirst("ObjectId(", "").replaceAll(")", ""));
return ObjectId.fromHexString(
json.replaceFirst('ObjectId(', '').replaceAll(')', ''));
}
objectIdToJson(ObjectId o) {
String objectIdToJson(ObjectId o) {
return o.toString();
}