addUint64 method

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

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

Implementation

void addUint64(int field, int? value, [double? def]) {
  assert(_inVTable);
  if (value != null && value != def) {
    _prepare(_sizeofUint64, 1);
    _trackField(field);
    _setUint64AtTail(_tail, value);
  }
}