Receipt class

The class contains information about the purchase:

  • data — information about the purchase from Google Play/App Store;
  • signature - signature confirming the purchase in Google Play/App Store. Used for validating purchases in Google Play/App Store.

Constructors

Receipt({String? data, String? signature})
Creates an object with information about the purchase.

Properties

data String?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited