loadFromAsset method

Future<ModelData> loadFromAsset(
  1. String name
)

Загрузить модель из assets.

Implementation

Future<sdk.ModelData> loadFromAsset(String name) async {
  final data = await rootBundle.load(name);
  return _makeModelData(data);
}