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
{{ message }}
This repository was archived by the owner on Apr 28, 2021. It is now read-only.
I am totally new to Dart and Flutter, so my knowledge is quite limited.
I am getting the following error when I use your factory contructor. The error happens a couple of seconds after the app is launching on iPhone.
Performing full restart...
Restarted app in 2,563ms.
[VERBOSE-2:dart_error.cc(16)] Unhandled exception:
type 'YamlMap' is not a subtype of type 'Map<String, dynamic>' where
YamlMap is from package:yaml/src/yaml_node.dart
Map is from dart:core
String is from dart:core
#0 new AppConfig.fromJson (package:letsvote/model.dart:91:59) #1 ConfigService.parseYaml (package:letsvote/services.dart:36:16) #2 FlutterConfigService.loadConfig (package:letsvote_mobile/services.dart:15:12)