packet property Null safety

GradientPacket packet

This Packet holds onto two Gradients and a t keyframe.

When requesting any potential Gradient property other than colors or stops, this Packet may be called upon and will provide the relevant lerp at t.

If either gradient does not have the requested property, a default value is provided as per GradientUtils.


final GradientPacket packet;