AmwalWalletSettings class

Configuration settings for Amwal Wallet SDK.

This class encapsulates all the configuration parameters needed to set up and customize the wallet payment experience.

Properties

Example

final settings = AmwalWalletSettings(
  token: 'auth_token_123',
  terminalIds: ['term_1', 'term_2'],
  secureHashValue: 'secure_hash_456',
  isMocked: false,
  locale: Locale('en', 'US'),
  navigatorObserver: MyNavigatorObserver(),
);

Constructors

AmwalWalletSettings.new({required String token, required List<String> terminalIds, required String secureHashValue, required bool isMocked, required Locale locale, required NavigatorObserver navigatorObserver})
Creates a new instance of AmwalWalletSettings.

Properties

hashCode int
The hash code for this object.
no setterinherited
isMocked bool
Whether to use mock mode for testing.
final
locale Locale
Locale for internationalization.
final
Navigator observer for route management.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secureHashValue String
Secure hash for additional validation.
final
terminalIds List<String>
List of terminal IDs for payment processing.
final
token String
Authentication token for API access.
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