finish method

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

Finish building, and store into the fbBuilder.

Implementation

@override
int finish(fb.Builder fbBuilder) {
  final int? errorOffset =
      _error == null ? null : fbBuilder.writeString(_error!);
  fbBuilder.startTable(2);
  fbBuilder.addBool(0, _output);
  fbBuilder.addOffset(1, errorOffset);
  return fbBuilder.endTable();
}