onHandlerException method

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

Implementation

@override
void onHandlerException(RawData? object, Pointer<Void> nativeData, Object e,
    StackTrace stackTrace) {
  if (object != null) {
    object.errorHandler.onError(e, stackTrace);
  }
  _onAnimatedImageProviderComplete(nativeData, newNativeBytes(nullptr, 0));
}