PasskitNfc class

Constructors

PasskitNfc({required String encryptionPublicKey, required String message, bool? requiresAuthentication})
PasskitNfc.fromJson(Map<String, dynamic> json)
factory

Properties

encryptionPublicKey String
Required. The public encryption key the Value Added Services protocol uses. Use a Base64-encoded X.509 SubjectPublicKeyInfo structure that contains an ECDH public key for group P256.
final
hashCode int
The hash code for this object.
no setterinherited
message String
Required. The payload the device transmits to the Apple Pay terminal. The size must be no more than 64 bytes. The system truncates messages longer than 64 bytes.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
requiresAuthentication bool?
Required. Text encoding that is used to convert the message from the string representation to a data representation to render the barcode. The value is typically iso-8859-1, but you may use another encoding that is supported by your barcode scanning infrastructure.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

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

Operators

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