Dart - regenerate example after recent flatc changes (#6733)

This commit is contained in:
Ivan Dlugos
2021-07-15 22:03:27 +02:00
committed by GitHub
parent 0980e39c9b
commit e8423da1b7
3 changed files with 14 additions and 17 deletions

View File

@@ -75,8 +75,8 @@ void builderTest() {
..addColor(myGame.Color.Red);
final int monsteroff = monster.finish();
final buffer = builder.finish(monsteroff);
if (verify(buffer)) {
builder.finish(monsteroff);
if (verify(builder.buffer)) {
print(
"The FlatBuffer was successfully created with a builder and verified!");
}