copyWith method

ModelSettings copyWith({
  1. bool? useThirdParty,
  2. String? selectedProviderId,
})

Implementation

ModelSettings copyWith({bool? useThirdParty, String? selectedProviderId}) =>
    ModelSettings(
      useThirdParty: useThirdParty ?? this.useThirdParty,
      providers: providers,
      selectedProviderId: selectedProviderId ?? this.selectedProviderId,
    );