mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-03 06:12:26 +00:00
Fix union unpacking (#8748)
This commit is contained in:
@@ -276,7 +276,7 @@ class Table2 {
|
||||
|
||||
Table2T unpack() => Table2T(
|
||||
typeType: typeType,
|
||||
type: type);
|
||||
type: type?.unpack());
|
||||
|
||||
static int pack(fb.Builder fbBuilder, Table2T? object) {
|
||||
if (object == null) return 0;
|
||||
|
||||
Reference in New Issue
Block a user