InputPaymentCredentialsApplePay.deserialize constructor

InputPaymentCredentialsApplePay.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory InputPaymentCredentialsApplePay.deserialize(BinaryReader reader) {
  // Read [InputPaymentCredentialsApplePay] fields.
  final paymentData = reader.readObject() as DataJSONBase;

  // Construct [InputPaymentCredentialsApplePay] object.
  final returnValue = InputPaymentCredentialsApplePay(
    paymentData: paymentData,
  );

  // Now return the deserialized [InputPaymentCredentialsApplePay].
  return returnValue;
}