OryksaAppContext class
Where the customer is inside your app. Sent with each message so the AI knows the current screen (for example a product page) and answers about it.
Constructors
-
OryksaAppContext({String? screen, String? title, List<
String> items = const []}) -
Creates an app context.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
String> -
What is listed on the screen (product names, services, times). Up to 20.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screen → String?
-
Screen id, for example
product,cart,booking.final - title → String?
-
Title shown on the screen, for example the product name and price.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - JSON sent to the API.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited