read method

  1. @override
Future<String?> read()
override

Implementation

@override
Future<String?> read() async {
  if (await _file.exists()) {
    return _file.readAsString();
  }

  return null;
}