remove static method

Future<void> remove()

Deletes the downloaded model to free space.

Implementation

static Future<void> remove() async {
  if (!_supported) return;
  await _init();
  if (await FlutterGemma.isModelInstalled(fileName)) {
    await FlutterGemma.uninstallModel(fileName);
  }
  _activated = false;
}