loadString method

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

Load the file using an http client

Implementation

@override
Future<String> loadString(final String fileName, final String extension) async {
  final resolvedUri = resolveUri(fileName, extension);
  final result = await http.get(resolvedUri);
  return utf8.decode(result.bodyBytes);
}