NkHttpService class
Constructors
- NkHttpService(String baseUrl)
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> (RequestData< T> requestData) → Future<NkHttpResponse< T> ?> -
Make a request using the
baseUrl
that was initialized at instantiation. -
requestNkBase<
T> (RequestData< T> requestData) → Future<NkResponse< T> ?> -
Make a request using the
baseUrl
that was initialized at instantiation. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
initializeHttpService(
{required String baseUrl}) → void -
Method that initializes service injection using the
baseUrl
for requests.