addInt64 method

void addInt64(
  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 addInt64(int field, int? value, [double? def]) {
  assert(_inVTable);
  if (value != null && value != def) {
    _prepare(_sizeofInt64, 1);
    _trackField(field);
    _setInt64AtTail(_tail, value);
  }
}