ChatConfig class

Configuration for the chat module.

This class holds configuration settings that affect chat behavior, such as message length limits and validation rules.

Example:

const config = ChatConfig(
  maxMessageLength: 1000,
  maxLines: 20,
);

Constructors

ChatConfig({int maxMessageLength = 1000, int maxLines = 20})
Creates a new ChatConfig.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
maxLines int
Maximum number of lines allowed in a message.
final
maxMessageLength int
Maximum length of a message in characters.
final
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