DVStoreOfferSignature class
The signature an App Store promotional offer is opened with.
Made on the server with the In-App Purchase key, because the key signs for the developer: a device holding it could give itself any offer.
Constructors
- DVStoreOfferSignature({required String keyId, required String nonce, required int timestamp, required String signature})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyId → String
-
final
- nonce → String
-
A lowercase UUID, used once.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature → String
-
Base64 DER ECDSA P-256 over the payload Apple defines.
final
- timestamp → int
-
Milliseconds since the epoch.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, Object?> json) → DVStoreOfferSignature