vTableGetNullable method

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

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

Implementation

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