install abstract method

Future<void> install(
  1. ModelSource source
)

Installs the model from the given source

This method performs the actual installation:

  • NetworkSource: downloads from URL
  • AssetSource: copies from Flutter assets
  • BundledSource: accesses native resources
  • FileSource: registers external file path

Throws:

  • UnsupportedError if this handler doesn't support the source type
  • ArgumentError if the source is invalid
  • Platform-specific exceptions for download/file errors

Implementation

Future<void> install(ModelSource source);