onHandlerException method

  1. @override
void onHandlerException(
  1. ImageProvider? object,
  2. Pointer<Void> nativeData,
  3. Object e,
  4. StackTrace stackTrace,
)

Implementation

@override
void onHandlerException(ImageProvider? object, Pointer<Void> nativeData,
    Object e, StackTrace stackTrace) {
  if (object != null) {
    object._errorHandler.onError(e, stackTrace);
  }
  _onImageProviderComplete(nativeData, newNativeImageProvider(0, 0));
}