loadString method

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

Method used to load string from the _CustomAssetBundle

Implementation

Future<String> loadString(final String fileName, final String extension) {
  return useE2E
      ? customAssetBundle.loadString('$basePath/$fileName.$extension')
      : super.loadString(fileName, extension);
}