loadModelContext function

Future<String> loadModelContext(
  1. BuildContext context,
  2. String path
)

Implementation

Future<String> loadModelContext(BuildContext context, String path) async {
  return await DefaultAssetBundle.of(context)
      .loadString(path);
}