ChatBotState class
Constructors
-
ChatBotState({List<
List< messages = const [], bool loading = false, List<ChatBotMessage> >String> allowedMessage = const [], String? error}) - ChatBotState.initial()
-
factory
Properties
- activeTextInput → bool
-
no setter
-
allowedMessage
→ List<
String> -
final
- error → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- loading → bool
-
final
-
messages
→ List<
List< ChatBotMessage> > -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
visibleMessages
→ List<
ChatBotMessage> -
no setter
- visibleTextInput → bool
-
no setter
Methods
-
copyWith(
{List< List< ? messages, bool? loading, List<ChatBotMessage> >String> ? allowedMessage, String? error}) → ChatBotState -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited