PaymentsApplyGiftCode.deserialize constructor
PaymentsApplyGiftCode.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory PaymentsApplyGiftCode.deserialize(BinaryReader reader) {
// Read [PaymentsApplyGiftCode] fields.
final slug = reader.readString();
// Construct [PaymentsApplyGiftCode] object.
final returnValue = PaymentsApplyGiftCode(
slug: slug,
);
// Now return the deserialized [PaymentsApplyGiftCode].
return returnValue;
}