safe_config
safe_config copied to clipboard
Throws runtime error.in configuration.dart
On attempting to run, the following error is thrown:
../../../.pub-cache/hosted/pub.dartlang.org/safe_config-2.0.2/lib/src/configuration.dart:86:42: Error: The argument type 'Type' can't be assigned to the parameter type 'String'.
- 'Type' is from 'dart:core'.
throw ConfigurationException(runtimeType, "The value '${actualValue}' is not assignable to the field '$name'.");
ConfigurationException defines runtimeType as String, changing it to Type, solves this issue