signOffer method

  1. @override
Future<DVStoreOfferSignature> signOffer(
  1. String productId,
  2. String offerId
)
override

The server's signature for App Store promotional offer offerId.

Implementation

@override
Future<DVStoreOfferSignature> signOffer(
        String productId, String offerId) async =>
    DVStoreOfferSignature.fromJson(await _call('POST', offerSignaturePath,
        <String, Object?>{'product': productId, 'offer': offerId}));