finish method
Finish building, and store into the fbBuilder
.
Implementation
@override
int finish(fb.Builder fbBuilder) {
final int? verticesOffset = _vertices == null ? null
: fbBuilder.writeListUint8(_vertices!);
fbBuilder.startTable(2);
fbBuilder.addOffset(0, verticesOffset);
fbBuilder.addUint32(1, _vertexCount);
return fbBuilder.endTable();
}