withoutProvider method
Removes the provider id; clears the selection if it was selected.
Implementation
ModelSettings withoutProvider(String id) => ModelSettings(
useThirdParty: useThirdParty,
providers: List.unmodifiable(providers.where((p) => p.id != id)),
selectedProviderId: selectedProviderId == id ? null : selectedProviderId,
);