onExternalError method
void
onExternalError(
- Object externalInterface,
- Request request,
- Object error,
- StackTrace stackTrace,
Called when an error
is thrown by ExternalInterface
for the given request
.
Implementation
void onExternalError(
Object externalInterface,
Request request,
Object error,
StackTrace stackTrace,
) {
logger.e(
'Error occurred while requesting "${request.runtimeType}" '
'for "${externalInterface.runtimeType}"',
error: error,
stackTrace: stackTrace,
);
}