DigiaUIStatus class

Represents the current status of Digia UI initialization process.

This class encapsulates the current state along with relevant data such as the initialized DigiaUI instance (when ready) or error information (when failed).

Constructors

DigiaUIStatus.error(Object error, [StackTrace? stackTrace])
Creates an error status with error details and optional stack trace
const
DigiaUIStatus.loading()
Creates a loading status indicating initialization is in progress
const
DigiaUIStatus.ready(DigiaUI digiaUI)
Creates a ready status with the initialized DigiaUI instance
const

Properties

digiaUI DigiaUI?
The initialized DigiaUI instance (only available when state is ready)
final
error Object?
Error that occurred during initialization (only available when state is error)
final
hasError bool
Returns true if initialization failed with an error
no setter
hashCode int
The hash code for this object.
no setterinherited
isLoading bool
Returns true if initialization is currently in progress
no setter
isReady bool
Returns true if initialization completed successfully
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
Stack trace associated with the error (only available when state is error)
final
state DigiaUIState
The current state of initialization
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