FileScrewdriver extension

provides extensions for File

on
  • File

Methods

readAsBytes() Future<Uint8List>
Reads the File and returns the content as bytes.
readAsString() Future<String>
Reads the File and returns the content as a string.