BotModeConfig class

Main configuration for bot mode.

Constructors

BotModeConfig({required List<BotConfig> bots, required SecurityConfig security, required OutputConfig output, required PollingConfig polling, required FileTransferConfig files})
BotModeConfig.defaults()
Create a minimal default configuration.
factory
BotModeConfig.fromYaml(YamlMap yaml)
Create configuration from YAML map.
factory

Properties

bots List<BotConfig>
Bot configurations
final
files FileTransferConfig
File transfer settings
final
hashCode int
The hash code for this object.
no setterinherited
output OutputConfig
Output formatting settings
final
polling PollingConfig
Polling settings
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
security SecurityConfig
Global security settings
final

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

loadFromFile(String path) Future<BotModeConfig>
Load configuration from a YAML file.