title: How to verify an In App Purchase With Flutter?
body: <p>Using the <a href="https://pub.dev/packages/in_app_purchase" rel="nofollow noreferrer">in_app_purchase 0.6.0</a> plugin for IAP in a Flutter app, I can't find how to verify the purchase anywhere. In the package example at the part where you would verify the purchase it says:</p>
  <pre><code>// IMPORTANT!! Always verify a purchase before delivering the product.
  // For the purpose of an example, we directly return true.
  return Future&lt;bool&gt;.value(true);
  </code></pre>
  <p>I've found you can get verification data from the purchaseDetails &amp; there are 3 parameters available</p>
  <pre><code>purchaseDetails.verificationData.serverVerificationData
  purchaseDetails.verificationData.localVerificationData
  purchaseDetails.verificationData.source
  </code></pre>
  <p>The server &amp; local values are the same when I test, is comparing those to each-other considered the verification? The way the comments in the code are worded it makes it seem like you should pass one of those values and the source (ios or android) to some other verification method. If this is the case what method should be used to verify?</p>