ConversationTokenDBModel class

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

Constructors

ConversationTokenDBModel({required String agentId, required String conversationToken, dynamic expirationTimeUnixSecs, dynamic conversationId, ConversationTokenPurpose? purpose})
const
ConversationTokenDBModel.fromJson(Map<String, dynamic> json)
factory

Properties

agentId String
final
conversationId → dynamic
final
conversationToken String
final
expirationTimeUnixSecs → dynamic
final
hashCode int
The hash code for this object.
no setteroverride
purpose ConversationTokenPurpose?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? agentId, String? conversationToken, dynamic expirationTimeUnixSecs, dynamic conversationId, ConversationTokenPurpose? purpose}) ConversationTokenDBModel

Available on ConversationTokenDBModel, provided by the $ConversationTokenDBModelExtension extension

copyWithWrapped({Wrapped<String>? agentId, Wrapped<String>? conversationToken, Wrapped? expirationTimeUnixSecs, Wrapped? conversationId, Wrapped<ConversationTokenPurpose?>? purpose}) ConversationTokenDBModel

Available on ConversationTokenDBModel, provided by the $ConversationTokenDBModelExtension 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 ConversationTokenDBModel Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(ConversationTokenDBModel instance)