ChatMessageModel class

Constructors

ChatMessageModel({required List<ChoiceModel> choices, String? id, String? model})
const
ChatMessageModel.empty()
factory
ChatMessageModel.fromJson(Map<String, dynamic> json)
factory

Properties

choices List<ChoiceModel>
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
model String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? id, String? object, String? created, String? model, List<ChoiceModel>? choices, bool? isSentByMe}) ChatMessageModel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited