MidtransUiConfigModel class

Represents the UI configuration settings for the Midtrans Flutter SDK.

This class contains parameters such as whether to show payment status and whether the save card option is checked.

Annotations

Constructors

MidtransUiConfigModel({required bool showPaymentStatus, required bool saveCardChecked})
Constructs a MidtransUiConfigModel instance.
MidtransUiConfigModel.fromJson(Map<String, dynamic> json)
Creates a MidtransUiConfigModel instance from a JSON map.
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
saveCardChecked bool
A flag indicating whether the save card option is checked by default.
final
showPaymentStatus bool
A flag indicating whether to show payment status during the payment process.
final

Methods

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

Operators

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