SenderType enum

Who wrote a message or caused an event.

Inheritance
Available extensions

Values

visitor → const SenderType

The customer (this app's user).

agent → const SenderType

A human agent.

bot → const SenderType

The AI assistant.

system → const SenderType

The system (status changes, notices).

Properties

code → String
The wire value.
no setter
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
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

Static Methods

parse(String? s) → SenderType
Parses the wire value; unknown senders count as system.

Constants

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