InputPaymentCredentialsGooglePay.deserialize constructor
InputPaymentCredentialsGooglePay.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory InputPaymentCredentialsGooglePay.deserialize(BinaryReader reader) {
// Read [InputPaymentCredentialsGooglePay] fields.
final paymentToken = reader.readObject() as DataJSONBase;
// Construct [InputPaymentCredentialsGooglePay] object.
final returnValue = InputPaymentCredentialsGooglePay(
paymentToken: paymentToken,
);
// Now return the deserialized [InputPaymentCredentialsGooglePay].
return returnValue;
}