PasskitField class

Constructors

PasskitField({required String key, required String value, String? label, String? changeMessage})
PasskitField.fromJson(Map<String, dynamic> json)
factory

Properties

changeMessage String?
Optional. Format string for the alert text that is displayed when the pass is updated. The format string must contain the escape %@, which is replaced with the field’s new value. For example, “Gate changed to %@.” If you don’t specify a change message, the user isn’t notified when the field changes.
final
hashCode int
The hash code for this object.
no setterinherited
key String
Required. The key must be unique within the scope of the entire pass. For example, “departure-gate.”
final
label String?
Optional. Label text for the field.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
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
value String
Required. Value of the field, for example, 42.
final

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