ErrorTranslationCallback typedef
ErrorTranslationCallback =
String? Function(dynamic error, StackTrace stackTrace, String? source)
A callback type for handling error translation
Implementation
typedef ErrorTranslationCallback = String? Function(
dynamic error,
StackTrace stackTrace,
String? source,
);