Skip to main content

write method

void write (BinaryWriter writer, OrgInfo obj)

<span class="feature">override</span>

<p>Is called when a value has to be encoded.</p>

Implementation

@override
void write(BinaryWriter writer, OrgInfo obj) \{
writer
..writeByte(8)
..writeByte(0)
..write(obj.image)
..writeByte(1)
..write(obj.id)
..writeByte(2)
..write(obj.name)
..writeByte(3)
..write(obj.admins)
..writeByte(4)
..write(obj.members)
..writeByte(5)
..write(obj.description)
..writeByte(6)
..write(obj.isPublic)
..writeByte(7)
..write(obj.creatorInfo);
\}