PaymentSelectOption<T> class

One option; a disabled reason explains unavailable choices.

Annotations

Constructors

PaymentSelectOption({required T value, required String label, String? disabledReason})
const

Properties

disabledReason → String?
Disables the option with an explanation.
final
hashCode → int
The hash code for this object.
no setterinherited
label → String
Visible option name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → T
Host value.
final

Methods

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

Operators

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