removeCustomModel method

Future<void> removeCustomModel(
  1. String id
)

Implementation

Future<void> removeCustomModel(String id) async {
  final current = await loadCustomModels();
  current.removeWhere((m) => m.id == id);
  await saveCustomModels(current);
}