ChatViewState enum

Represents the different states of the chat view.

  • hasMessages: Chat has messages to display.
  • noData: No messages available.
  • loading: Messages are being loaded.
  • error: An error occurred while loading messages.
Inheritance
Available extensions

Values

hasMessages → const ChatViewState
noData → const ChatViewState
loading → const ChatViewState
error → const ChatViewState

Properties

hashCode → int
The hash code for this object.
no setterinherited
hasMessages → bool

Available on ChatViewState, provided by the ChatViewStateExtension extension

no setter
index → int
A numeric identifier for the enumerated value.
no setterinherited
isError → bool
no setter
isError → bool

Available on ChatViewState, provided by the ChatViewStateExtension extension

no setter
isHasMessages → bool
no setter
isLoading → bool
no setter
isLoading → bool

Available on ChatViewState, provided by the ChatViewStateExtension extension

no setter
isNoData → bool
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
noMessages → bool

Available on ChatViewState, provided by the ChatViewStateExtension extension

no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<ChatViewState>
A constant List of the values in this enum, in order of their declaration.