handleFailureAsText method
Implementation
Text handleFailureAsText(_, Failure failure) => Text(
"Error: ${failure.error!.message}",
style: const TextStyle(color: Colors.red, backgroundColor: Colors.white));
Text handleFailureAsText(_, Failure failure) => Text(
"Error: ${failure.error!.message}",
style: const TextStyle(color: Colors.red, backgroundColor: Colors.white));