ChatMessageModel class
Constructors
-
ChatMessageModel({required List<
ChoiceModel> choices, String? id, String? model}) -
const
- ChatMessageModel.empty()
-
factory
-
ChatMessageModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
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