write method
Is called when a value has to be encoded.
Implementation
@override
void write(BinaryWriter writer, Color obj) => writer.writeInt(obj.value);
Is called when a value has to be encoded.
@override
void write(BinaryWriter writer, Color obj) => writer.writeInt(obj.value);