applyLoader property
Future<T>
get
applyLoader
Implementation
Future<T> get applyLoader async {
// LoaderUtils.show(); // Show the loader
try {
return await this; // Wait for the future to complete
} finally {
// LoaderUtils.dismiss(); // Dismiss the loader
}
}