EagleHttp class

Implemented types

Constructors

EagleHttp.new({required String baseUrl, Map<String, dynamic>? headers, dynamic customError(DioException error)?})

Properties

customError → dynamic Function(DioException error)?
final
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
prepareResponse(dynamic response) EagleResponse
override
request(String path, {required EagleHttpMethod method, EagleRequest? options}) Future<EagleResponse?>
override
setHeaders(Map<String, dynamic> headers) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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