AdvancedOptions constructor
AdvancedOptions({
- Censors? censors,
- MatchRules? matchRules,
- int? manualDelay,
- bool? simulateDelay,
- TimeFrame? validTimeFrame,
- ExpirationAction? whenExpired,
Creates a new AdvancedOptions.
final options = AdvancedOptions(
censors: Censors.defaultCensors,
matchRules: MatchRules.defaultMatchRules,
manualDelay: 0,
simulateDelay: false,
validTimeFrame: TimeFrame.forever,
whenExpired: ExpirationAction.warn,
);
Implementation
AdvancedOptions(
{Censors? censors,
MatchRules? matchRules,
int? manualDelay,
bool? simulateDelay,
TimeFrame? validTimeFrame,
ExpirationAction? whenExpired})
: censors = censors ?? Censors.defaultCensors,
matchRules = matchRules ?? MatchRules.defaultMatchRules,
manualDelay = manualDelay ?? 0,
simulateDelay = simulateDelay ?? false,
validTimeFrame = validTimeFrame ?? TimeFrame.forever,
whenExpired = whenExpired ?? ExpirationAction.warn;