OpenAIModelModel class final

This class is used to represent an OpenAI model.

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
havePermission bool
Weither the model have at least one permission in permission.
no setter
id String
The identifier 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