AppUtils class
A utility class that provides common functions for the application.
Constructors
- AppUtils()
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
-
getBaseURL(
PayEngineConfig config) → String -
Returns the base URL for the PayEngine API based on the provided
config
. Theconfig
parameter is an instance of the PayEngineConfig class. -
getHttpHeaders(
PayEngineConfig config) → Map< String, String> -
Returns a map of HTTP headers based on the provided
config
. -
getPlatformVersion(
) → List - Returns the platform version as a List.
-
getSecureFieldsSetting(
PayEngineConfig config) → Future< SecureFieldsSettingDataResponse> - Retrieves the secure fields setting data response.
-
isLegacyIOS(
) → bool -
Checks if the current platform is a legacy iOS version.
Returns
true
if the platform is a legacy iOS version,false
otherwise.