write method
Is called when a value has to be encoded.
Implementation
@override
void write(BinaryWriter writer, ChatwootContact obj) {
writer
..writeByte(5)
..writeByte(0)
..write(obj.id)
..writeByte(1)
..write(obj.contactIdentifier)
..writeByte(2)
..write(obj.pubsubToken)
..writeByte(3)
..write(obj.name)
..writeByte(4)
..write(obj.email);
}