vTableGetNullable method

  1. @pragma('vm:prefer-inline')
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) {
  final fieldOffset = _vTableFieldOffset(object, offset, field);
  return fieldOffset == 0 ? null : read(object, offset + fieldOffset);
}