vTableGetNullable method

T? vTableGetNullable(
  1. BufferContext object,
  2. int offset,
  3. int field
)

Read the value of the given field in the given object.

Implementation

@pragma('vm:prefer-inline')
T? vTableGetNullable(BufferContext object, int offset, int field) {
  int fieldOffset = _vTableFieldOffset(object, offset, field);
  return fieldOffset == 0 ? null : read(object, offset + fieldOffset);
}