verify method
Verifies purchase: the entitlement it grants, or null.
Implementation
@override
Future<String?> verify(PendingPurchase purchase) async {
final data = await _call('verifyPurchase', {
'projectId': projectId,
'productId': purchase.productId,
'source': purchase.source,
'serverVerificationData': purchase.serverVerificationData,
});
return data['entitlementId'] as String?;
}