You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unhandled exception:
NoSuchMethodError: The method ‘forEach’ was called on null.
Receiver: null
Tried calling: forEach(Closure: (dynamic, dynamic) => Null)
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:38:5)
#1 new YmlGeneratorConfig (package:model_generator/config/yml_generator_config.dart:30:29)
#2 main (file:///Users/user123/.pub-cache/hosted/pub.dartlang.org/model_generator-5.8.1/bin/model_generator.dart:51:7)
#3 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:295:32)
#4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
pub finished with exit code 255
The text was updated successfully, but these errors were encountered:
vanlooverenkoen
changed the title
model_generator crash when model_generator is not configured in pubspec.yaml
model_generator crash when the config.yaml is empty.
Feb 17, 2022
The text was updated successfully, but these errors were encountered: