EasyHttpRequest class

Main class of the package. Contains all the methods you can use.

Implement EasyHttpRequestContract.

Implemented types

Constructors

EasyHttpRequest()

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
requestWithManyPATH<T extends HttpDataParser<T>>({required T model, required String identifier, required EasyHttpType requestType, String extraUri = '', Map<String, dynamic> queryParams = const {}, bool returnModel = false}) Future<EasyHttpRequestResponse<T>>
Method to make request by EasyHttpType on MANY API PATH.
override
requestWithSinglePATH<T extends HttpDataParser<T>>({required T model, required EasyHttpType requestType, String extraUri = '', Map<String, dynamic> queryParams = const {}, bool returnModel = false}) Future<EasyHttpRequestResponse<T>>
Method to make request by EasyHttpType on SINGLE API PATH.
override
toString() String
A string representation of this object.
inherited

Operators

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