readAsString method

Future<String> readAsString(
  1. String path
)

Read the content of a file as String

Implementation

Future<String> readAsString(String path) async =>
    await readFileContentAsString(path.replaceSeparator());