NetworkConfiguration class

Configuration class for network communication settings.

This class defines network-related settings such as default headers, timeout values, and other HTTP client configuration options used throughout the SDK.

Constructors

NetworkConfiguration({required Map<String, dynamic> defaultHeaders, required int timeoutInMs})
Creates a network configuration with the specified settings.
const
NetworkConfiguration.withDefaults({Map<String, dynamic>? defaultHeaders, int? timeoutInMs})
Creates a network configuration with default values.
factory

Properties

defaultHeaders Map<String, dynamic>
Default headers to include with all network requests.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeoutInMs int
Request timeout in milliseconds.
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