AbusUpdateConfig class

Configuration for ABUS widget updates

Constructors

AbusUpdateConfig.new({Set<String>? interactionIds, Set<String>? tags, bool rebuildOnSuccess = true, bool rebuildOnError = true, bool rebuildOnRollback = true, bool customFilter(ABUSResult)?, Duration? debounceDelay, bool onlyWhenVisible = false})
const

Properties

customFilter bool Function(ABUSResult)?
Custom filter function for fine-grained control
final
debounceDelay Duration?
Debounce duration to prevent excessive rebuilds
final
hashCode int
The hash code for this object.
no setterinherited
interactionIds Set<String>?
Specific interaction IDs to listen for
final
onlyWhenVisible bool
Whether to only listen while widget is visible
final
rebuildOnError bool
Whether to rebuild on error results
final
rebuildOnRollback bool
Whether to rebuild on rollback results
final
rebuildOnSuccess bool
Whether to rebuild on success results
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags Set<String>?
Interaction tags to listen for
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldUpdate(ABUSResult result) bool
Check if this result should trigger an update
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

errorsOnly → const AbusUpdateConfig
Config for error-only updates
minimal → const AbusUpdateConfig
Default config for minimal rebuilds