AvailableModels class
- Annotations
-
- @freezed
Constructors
-
AvailableModels.new({@JsonKey(name: "version") required double version, @JsonKey(name: "model_providers") required List<
AIModelProvider> modelProviders}) -
constfactory
-
AvailableModels.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $AvailableModelsCopyWith<
AvailableModels> -
Create a copy of AvailableModels
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
map
→ Map<
ModelAPIProvider, AIModelProvider> -
no setter
-
modelProviders
→ List<
AIModelProvider> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → double
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this AvailableModels to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited