pack method
Serialize the object using the given builder, returning the offset.
Implementation
@override
int pack(fb.Builder fbBuilder) {
final int? timelineOffset = timeline == null ? null
: fbBuilder.writeListFloat32(timeline!);
final int? keyframesOffset = keyframes?.pack(fbBuilder);
fbBuilder.startTable(4);
fbBuilder.addInt32(0, node);
fbBuilder.addOffset(1, timelineOffset);
fbBuilder.addUint8(2, keyframesType?.value);
fbBuilder.addOffset(3, keyframesOffset);
return fbBuilder.endTable();
}