TranslationErrorSink typedef
TranslationErrorSink =
void Function(String source, Object error, StackTrace stack)
Signature of the TranslationManager.onError sink.
source identifies where the error originated (e.g. 'tr' for
String.tr(), 'setConfig' for TranslationManager.setConfig).
Implementation
typedef TranslationErrorSink = void Function(
String source,
Object error,
StackTrace stack,
);