addUint32 method

void addUint32(
  1. int field,
  2. int? value, [
  3. int? def
])

Add the field with the given 32-bit unsigned integer value. The field is not added if the value is equal to def.

Implementation

void addUint32(int field, int? value, [int? def]) {
  _ensureCurrentVTable();
  if (value != null && value != def) {
    _prepare(_sizeofUint32, 1);
    _trackField(field);
    _setUint32AtTail(_buf, _tail, value);
  }
}