LokotroPaymentMethodListItem class
Enhanced payment method models for Lokotro Pay Payment method list item for UI display
Constructors
-
LokotroPaymentMethodListItem({required String id, required String name, required String displayName, required LokotroPayChannel channel, required String iconUrl, bool isEnabled = true, bool isSelected = false, Map<
String, dynamic> ? configuration}) -
LokotroPaymentMethodListItem.fromJson(Map<
String, dynamic> json) -
factory
Properties
- channel → LokotroPayChannel
-
final
-
configuration
→ Map<
String, dynamic> ? -
final
- displayName → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- iconUrl → String
-
final
- id → String
-
final
- isEnabled → bool
-
final
- isSelected → bool
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? id, String? name, String? displayName, LokotroPayChannel? channel, String? iconUrl, bool? isEnabled, bool? isSelected, Map< String, dynamic> ? configuration}) → LokotroPaymentMethodListItem -
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override