loadAsset static method

Future<String> loadAsset({
  1. required String path,
})

Implementation

static Future<String> loadAsset({
  required String path,
}) async {
  return rootBundle.loadString(path);
}