PaymentsStarGiftUpgradeAttributes.deserialize constructor
PaymentsStarGiftUpgradeAttributes.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory PaymentsStarGiftUpgradeAttributes.deserialize(BinaryReader reader) {
// Read [PaymentsStarGiftUpgradeAttributes] fields.
final attributes = reader.readVectorObject<StarGiftAttributeBase>();
// Construct [PaymentsStarGiftUpgradeAttributes] object.
final returnValue = PaymentsStarGiftUpgradeAttributes(
attributes: attributes.items,
);
// Now return the deserialized [PaymentsStarGiftUpgradeAttributes].
return returnValue;
}