fromAsset static method
Loads and deserializes a .model asset from the asset bundle.
Implementation
static Future<ImportedScene> fromAsset(String asset) {
return rootBundle.loadStructuredBinaryData<ImportedScene>(asset, (data) {
return fromFlatbuffer(data);
});
}