MatexCountryJob class
A job that initializes the country data.
This class represents a job to retrieve and process country-specific metadata for the application. It uses a delegate to fetch the metadata and uses a BLoC pattern to manage its state.
- Inheritance
-
- Object
- FastJob
- MatexCountryJob
Constructors
- MatexCountryJob({MatexCountryJobDelegate? delegate})
-
Constructs a new instance of MatexCountryJob.
factory
Properties
- blockStartupOnFailure → bool
-
Whether the job should prevent the app from starting if it fails.
finalinherited
- debugLabel → String?
-
finalinherited
- delegate → MatexCountryJobDelegate?
-
The delegate used to fetch country-specific metadata.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- requestUserInteraction → bool
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration
-
The time limit for the job to complete.
finalinherited
Methods
-
initialize(
BuildContext context, {IFastErrorReporter? errorReporter}) → Future< void> -
Initializes the job to retrieve country data.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
BuildContext context, {IFastErrorReporter? errorReporter}) → Future< bool> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited