ConversationHistoryErrorCommonModel class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

ConversationHistoryErrorCommonModel({required int code, dynamic reason})
const
ConversationHistoryErrorCommonModel.fromJson(Map<String, dynamic> json)
factory

Properties

code int
final
hashCode int
The hash code for this object.
no setteroverride
reason → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? code, dynamic reason}) ConversationHistoryErrorCommonModel

Available on ConversationHistoryErrorCommonModel, provided by the $ConversationHistoryErrorCommonModelExtension extension

copyWithWrapped({Wrapped<int>? code, Wrapped? reason}) ConversationHistoryErrorCommonModel

Available on ConversationHistoryErrorCommonModel, provided by the $ConversationHistoryErrorCommonModelExtension extension

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.
override

Operators

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

Constants

fromJsonFactory → const ConversationHistoryErrorCommonModel Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(ConversationHistoryErrorCommonModel instance)