PaygateHttpClient class
Enhanced HTTP client for PayGate API calls
Constructors
- PaygateHttpClient()
-
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
Methods
-
dispose(
) → void - Dispose the HTTP client
-
get(
Uri url, {Map< String, String> ? headers, Duration? timeout}) → Future<Response> - Make a GET request with timeout and error handling
-
init(
) → void - Initialize the HTTP client with optimized settings
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
Uri url, {Map< String, String> ? headers, Object? body, Duration? timeout}) → Future<Response> - Make a POST request with timeout and error handling
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited