setIsLoading method
Set the loading state.
The setIsLoading function is used to update the loading state represented
by the isLoadingNotifier. It allows you to specify whether a loading
operation is in progress or not by setting the value of isLoadingNotifier.
Parameters:
value: A boolean value indicating whether a loading operation is in progress (true) or not (false).
Implementation
setIsLoading(bool value) {
isLoadingNotifier.value = value;
}