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