loadAsset function

Future<String> loadAsset(
  1. String path
)

Implementation

Future<String> loadAsset(String path) async {
//  print('data in root bundle = $path');
  return await rootBundle.loadString(path);
}