Appearance class
Represents the appearance settings for the payment process.
Constructors
- Appearance({required String language, required String themeColor, required String primaryColor, required String secondaryColor, required String tertiaryColor, required String logoUrl})
- Creates a new instance of Appearance with the given parameters.
-
Appearance.fromJson(Map<
String, dynamic> json) -
Creates a new instance of Appearance from a JSON object.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → String
-
The language for the appearance settings.
final
- logoUrl → String
-
The URL of the logo for the appearance settings.
final
- primaryColor → String
-
The primary color for the appearance settings.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryColor → String
-
The secondary color for the appearance settings.
final
- tertiaryColor → String
-
The tertiary color for the appearance settings.
final
- themeColor → String
-
The theme color for the appearance settings.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the Appearance instance to a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited