ApiIslamConfig class

Configuration options for the ApiIslam client.

Constructors

ApiIslamConfig({String baseUrl = 'http://localhost:8000', Duration timeout = const Duration(seconds: 15), Map<String, String> headers = const {'Accept' : 'application/json', 'Content-Type' : 'application/json'}})
const

Properties

baseUrl → String
Base URL of the API_ISLAM backend instance.
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
Custom HTTP headers.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration
Request timeout duration.
final

Methods

copyWith({String? baseUrl, Duration? timeout, Map<String, String>? headers}) → ApiIslamConfig
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