NetworkManager class

Coordinates all network communication between the SDK and the LinkForty API.

This manager handles URL construction, header injection (including authentication), JSON serialization, and automatic retries with exponential backoff.

Implemented types

Constructors

NetworkManager({required LinkFortyConfig config, HttpClient? httpClient})

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
request<T>({required String endpoint, required HttpMethod method, Object? body, Map<String, String>? headers, required T fromJson(Map<String, dynamic>)}) Future<T>
Performs an asynchronous network request and decodes the JSON response.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited