refactor: continue lint cleanup - 21 more issues fixed
- Fix always_specify_types (fireAlert, genericMap, mainCommon, firesApi) - Fix always_put_control_body_on_new_line (firesApi, placesAutocompleteUtils) - Fix unnecessary_import (remove redundant meta imports) Build: APK generated, 0 errors, 0 warnings
This commit is contained in:
parent
68ad4adbcf
commit
46305ee587
17 changed files with 1073 additions and 17 deletions
|
|
@ -399,7 +399,7 @@ class GenericMapState extends State<GenericMap> {
|
|||
final List<Marker> markers = <Marker>[];
|
||||
// Debug: building markers: fires: ${fires.length} falsePos: ${falsePosList.length} industries: ${industries.length}, isNotif: $isNotif
|
||||
// const calibrate = false; // useful when we change the fire icons size
|
||||
for (final falsePos in falsePosList) {
|
||||
for (final dynamic falsePos in falsePosList) {
|
||||
try {
|
||||
final List<dynamic> coords =
|
||||
falsePos['geo']['coordinates'] as List<dynamic>;
|
||||
|
|
@ -414,7 +414,7 @@ class GenericMapState extends State<GenericMap> {
|
|||
reportError(e, stackTrace);
|
||||
}
|
||||
}
|
||||
for (final industry in industries) {
|
||||
for (final dynamic industry in industries) {
|
||||
try {
|
||||
// print(fire['geo']['coordinates']);
|
||||
final List<dynamic> coords =
|
||||
|
|
@ -429,7 +429,7 @@ class GenericMapState extends State<GenericMap> {
|
|||
reportError(e, stackTrace);
|
||||
}
|
||||
}
|
||||
for (final fire in fires) {
|
||||
for (final dynamic fire in fires) {
|
||||
try {
|
||||
final LatLng loc = LatLng(
|
||||
(fire['lat'] as num).toDouble(), (fire['lon'] as num).toDouble());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue