Firstly thanks a lot for your boilerplate really nice setup!
I recently came across this error with new version of mobx would you advise any solution ?
`Failed to precompile build_runner:build_runner:
../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1051:25: Error: Type 'ForEachStatement' not found.
visitForEachStatement(ForEachStatement node) {
^^^^^^^^^^^^^^^^
../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1605:19: Error: Type 'MapLiteral' not found.
visitMapLiteral(MapLiteral node) {
^^^^^^^^^^
../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1837:19: Error: Type 'SetLiteral' not found.
visitSetLiteral(SetLiteral node) {
^^^^^^^^^^
../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:506:23: Error: 'MapLiteral' isn't a type.
if (expression is MapLiteral) return false;
^^^^^^^^^^
../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1051:25: Error: 'ForEachStatement' isn't a type.
visitForEachStatement(ForEachStatement node) {
^^^^^^^^^^^^^^^^
../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1218:14: Error: The getter 'initialization' isn't defined for the class 'ForStatement'.
'ForStatement' is from 'package:analyzer/dart/ast/ast.dart' ('../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.39.10/lib/dart/ast/ast.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'initialization'.
if (node.initialization != null) {
^^^^^^^^^^^^^^
../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1219:18: Error: The getter 'initialization' isn't defined for the class 'ForStatement'.
'ForStatement' is from 'package:analyzer/dart/ast/ast.dart' ('../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.39.10/lib/dart/ast/ast.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'initialization'.
visit(node.initialization);
^^^^^^^^^^^^^^
../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1220:21: Error: The getter 'variables' isn't defined for the class 'ForStatement'.
'ForStatement' is from 'package:analyzer/dart/ast/ast.dart' ('../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.39.10/lib/dart/ast/ast.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'variables'.
} else if (node.variables != null) {
^^^^^^^^^
../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1228:30: Error: The getter 'variables' isn't defined for the class 'ForStatement'.
'ForStatement' is from 'package:analyzer/dart/ast/ast.dart' ('../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.39.10/lib/dart/ast/ast.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'variables'.
var declaration = node.variables;
^^^^^^^^^
../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1241:16: Error: The getter 'leftSeparator' isn't defined for the class 'ForStatement'.
'ForStatement' is from 'package:analyzer/dart/ast/ast.dart' ('../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.39.10/lib/dart/ast/ast.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'leftSeparator'.
token(node.leftSeparator);`
Hi,
Firstly thanks a lot for your boilerplate really nice setup!
I recently came across this error with new version of mobx would you advise any solution ?
`Failed to precompile build_runner:build_runner: ../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1051:25: Error: Type 'ForEachStatement' not found. visitForEachStatement(ForEachStatement node) { ^^^^^^^^^^^^^^^^ ../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1605:19: Error: Type 'MapLiteral' not found. visitMapLiteral(MapLiteral node) { ^^^^^^^^^^ ../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1837:19: Error: Type 'SetLiteral' not found. visitSetLiteral(SetLiteral node) { ^^^^^^^^^^ ../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:506:23: Error: 'MapLiteral' isn't a type. if (expression is MapLiteral) return false; ^^^^^^^^^^ ../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1051:25: Error: 'ForEachStatement' isn't a type. visitForEachStatement(ForEachStatement node) { ^^^^^^^^^^^^^^^^ ../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-1.2.3/lib/src/source_visitor.dart:1218:14: Error: The getter 'initialization' isn't defined for the class 'ForStatement'.