NowaClient class

Constructors

NowaClient({String baseUrl = '', Map<String, String> headers = const {}, Duration? connectTimeout, Duration? receiveTimeout, Duration? sendTimeout})

Properties

baseUrl String
final
connectTimeout Duration?
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
final
receiveTimeout Duration?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendTimeout Duration?
final

Methods

delete({required String url, Map<String, String> headers = const {}, dynamic body}) Future<Response>
get({required String url, Map<String, String> headers = const {}, dynamic body}) Future<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch({required String url, Map<String, String> headers = const {}, dynamic body}) Future<Response>
post({required String url, Map<String, String> headers = const {}, dynamic body}) Future<Response>
put({required String url, Map<String, String> headers = const {}, dynamic body}) Future<Response>
toString() String
A string representation of this object.
inherited

Operators

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