fromNative static method

Animation fromNative(
  1. AnimationNative native
)

Implementation

static Animation fromNative(AnimationNative native) {
  return Animation(AnimationTypeImpl.fromInt(native.type),
      duration: native.duration);
}