BusyModel class

A model to represent the busy state of an application or component.

Includes busy state, optional title and message, and the type of busy indicator.

Constructors

BusyModel.new({required bool isBusy, required String? busyTitle, required String? busyMessage, required BusyType busyType, required dynamic payload})
Creates an instance of BusyModel.
const

Properties

busyMessage String?
Optional message to be displayed when the application or component is busy.
final
busyTitle String?
Optional title to be displayed when the application or component is busy.
final
busyType BusyType
Type of busy indicator to display.
final
hashCode int
The hash code for this object.
no setterinherited
isBusy bool
Indicates if the application or component is currently busy.
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
payload<E>() → E
Getter + caster for the payload. Use with caution!
toString() String
A string representation of this object.
inherited

Operators

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