requestData method

  1. @override
void requestData(
  1. RawData object,
  2. Pointer<Void> nativeData
)

Implementation

@override
void requestData(RawData object, Pointer<Void> nativeData) {
  object
      .onDataRequest()
      .then((value) => _onAnimatedImageProviderComplete(
          nativeData, toNativeBytes(value.buffer)))
      .catchError((e, stackTrace) =>
          onHandlerException(object, nativeData, e, stackTrace));
}