Configuration.fromFile constructor Null safety

Configuration.fromFile(
  1. 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());