ModelLoader constructor

ModelLoader({
  1. String? modelStorage,
  2. AssetBundle? assetBundle,
  3. Client? httpClient,
})

Create a new instance of model loader with an optional modelStorage.

Implementation

ModelLoader({
  this.modelStorage,
  this.assetBundle,
  final http.Client? httpClient,
}) {
  this.httpClient = httpClient ?? http.Client();
}