AdditionalElements class

might contain a base64 encoded PNG of a railway ticket

Usually use parseTicket to decode to a String for use in an Aztec

Constructors

AdditionalElements({required Uint8List? ticketPicture})
const
AdditionalElements.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ticketPicture Uint8List?
the raw bytes of the PNG
final

Methods

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

Operators

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