NetworkProvider class

Constructors

NetworkProvider.new({String? baseUrl, Duration? receiveTimeout})

Properties

baseHeaders Map<String, String>
getter/setter pair
dio → Dio
final
domain String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subPath String
final

Methods

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

Operators

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