loadString method

  1. @override
Future<String> loadString(
  1. String fileName,
  2. String extension
)
override

Load the file using the File class

Implementation

@override
Future<String> loadString(final String fileName, final String extension) {
  return File('$basePath/$fileName.$extension').readAsString();
}