Configuration.fromFile constructor Null safety
- File file
Opens a file and reads its string contents into this instance's properties.
file
must contain valid YAML data.
Implementation
Configuration.fromFile(File file) : this.fromString(file.readAsStringSync());