QrCode class

QR code data for physical route marking (v1.3.0+)

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

QrCode({String? data, String? url, String? ipfsHash, String? blockchainTx, DateTime? generatedAt})
Creates a new QrCode instance
QrCode.fromJson(Map<String, dynamic> json)
Creates a QrCode from JSON
factory

Properties

blockchainTx → String?
Blockchain transaction hash for permanent record
final
data → String?
Generated QR code data string
final
generatedAt → DateTime?
When the QR code was generated
final
hashCode → int
The hash code for this object.
no setterinherited
ipfsHash → String?
IPFS hash for CLDF archive reference
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → String?
Public URL for the route
final

Methods

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

Operators

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