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:
parent
1864e5b105
commit
7a4c9fb3bc
61 changed files with 1386 additions and 1202 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue