read function

Future<String> read(
  1. {@required String fromFile}
)

Implementation

Future<String> read({@required String fromFile}) async {
  try {
    return (File("${await _appDirPath}/$fromFile")).readAsString();
  } catch (readError) {
    return null;
  }
}