NetworkManager class

Constructors

NetworkManager({SessionManager? sessionManager})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionManager SessionManager?
getter/setter pair

Methods

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

Operators

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