addInt16 method
Add the field
with the given 32-bit signed integer value
. The field is
not added if the value
is equal to def
.
Implementation
void addInt16(int field, int? value, [int? def]) {
_ensureCurrentVTable();
if (value != null && value != def) {
_prepare(_sizeofInt16, 1);
_trackField(field);
_setInt16AtTail(_buf, _tail, value);
}
}