ClientOptions class abstract

Options for controlling the behavior of a Nyxx client.

Implementers

Constructors

ClientOptions({List<NyxxPlugin<Nyxx>> plugins = const [], String loggerName = 'Nyxx', Duration? rateLimitWarningThreshold = const Duration(seconds: 10)})
Create a new ClientOptions.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
logger Logger
The logger to use for this client.
no setter
loggerName String
The name of the logger to use for this client.
final
plugins List<NyxxPlugin<Nyxx>>
The plugins to use for this client.
final
rateLimitWarningThreshold Duration?
The threshold after which a warning will be logged if a request is waiting for rate limits.
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