addOffset method
Add the field
referencing an object with the given offset
.
Implementation
void addOffset(int field, int? offset) {
assert(_inVTable);
if (offset != null) {
_prepare(_sizeofUint32, 1);
_trackField(field);
_setUint32AtTail(_tail, _tail - offset);
}
}