loadAssetString method

Future<String> loadAssetString(
  1. String path
)

Retrieve a string from the asset bundle.

Implementation

Future<String> loadAssetString(String path) async {
  return await rootBundle.loadString(path);
}