pack method
Serialize the object using the given builder, returning the offset.
Implementation
@override
int pack(fb.Builder fbBuilder) {
fbBuilder.putFloat32(a);
fbBuilder.putFloat32(b);
fbBuilder.putFloat32(g);
fbBuilder.putFloat32(r);
return fbBuilder.offset;
}