loadAssets method

Future<String> loadAssets(
  1. String fileName
)

Implementation

Future<String> loadAssets(String fileName) async {
  try {
    return await rootBundle.loadString('test/examples/' + fileName + '.json',
        cache: false);
  } catch (e) {
    return null;
  }
}