Encodes an integer value for the given key or id.
@override void encodeInt(String key, int value, {int? id}) { tick(); _packer.packString(key); _packer.packInt(value); }