readAsStringSync method
Synchronously reads the entire file contents as a string using the given Encoding.
Throws a FileSystemException if the operation fails.
Implementation
@override
String readAsStringSync({Encoding encoding = utf8}) => file.readAsStringSync(encoding: encoding);