OpenAIModelModel class final
- Annotations
-
- @immutable
Constructors
-
OpenAIModelModel({required String id, required String ownedBy, required List<
OpenAIModelModelPermission> permission}) -
This class is used to represent an OpenAI model.
const
-
OpenAIModelModel.fromMap(Map<
String, dynamic> json) -
This method is used to convert a Map<String, dynamic> object to a OpenAIModelModel object.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
The ID of the model.
final
- ownedBy → String
-
The name of the organization that owns the model.
final
-
permission
→ List<
OpenAIModelModelPermission> -
The permissions of the model.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant OpenAIModelModel other) → bool -
The equality operator.
override