ConfigValidator class
Configuration validation helper
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
isValidApiKey(
String apiKey) → bool - Validate API key format
-
isValidBackendUrl(
String url) → bool - Validate backend URL format
-
isValidConfig(
{required String backendUrl, required String apiKey, required Map< String, dynamic> merchantInfo}) → bool - Validate complete configuration
-
isValidMerchantInfo(
Map< String, dynamic> merchantInfo) → bool - Validate merchant information