write method
Is called when a value has to be encoded.
Implementation
@override
void write(BinaryWriter writer, configData obj) {
writer
..writeByte(9)
..writeByte(0)
..write(obj.apiUrl)
..writeByte(1)
..write(obj.gatewayApiUrl)
..writeByte(2)
..write(obj.gatewayApiKey)
..writeByte(3)
..write(obj.supportUrl)
..writeByte(4)
..write(obj.stores)
..writeByte(5)
..write(obj.products)
..writeByte(6)
..write(obj.countries)
..writeByte(7)
..write(obj.googleMapsApiKey)
..writeByte(8)
..write(obj.payment_methods);
}