AIAssistantBaseEvent class

Constructors

AIAssistantBaseEvent({int? id, String? type, String? conversationId, String? parentId, Map<String, dynamic>? additionalProperties})
AIAssistantBaseEvent.fromMap(Map<String, dynamic> map)
Creates a new instance from a map
factory

Properties

additionalProperties Map<String, dynamic>?
getter/setter pair
conversationId String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
parentId String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the object to a map
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

processEvent(Map<String, dynamic>? map, String? eventType) AIAssistantBaseEvent?
Factory to process event type dynamically