finish method

  1. @override
int finish(
  1. Builder fbBuilder
)
override

Finish building, and store into the fbBuilder.

Implementation

@override
int finish(fb.Builder fbBuilder) {
  fbBuilder.putFloat32(_a);
  fbBuilder.putFloat32(_b);
  fbBuilder.putFloat32(_g);
  fbBuilder.putFloat32(_r);
  return fbBuilder.offset;
}