getAnimationPlayerOfNativePtr static method
AnimationPlayerElement
getAnimationPlayerOfNativePtr(
- Pointer<
NativeAnimationElement> nativeAnimationElement
Implementation
static AnimationPlayerElement getAnimationPlayerOfNativePtr(
Pointer<NativeAnimationElement> nativeAnimationElement) {
AnimationPlayerElement? animationPlayerElement =
_nativeMap[nativeAnimationElement.address];
if (animationPlayerElement == null) {
throw FlutterError(
'Can not get animationPlayerElement from nativeElement: $nativeAnimationElement');
}
return animationPlayerElement;
}