ApiHelper class

Constructors

ApiHelper({Map<String, String>? headers})
const

Properties

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

Methods

delete({required String url, Map<String, String>? header, Object? body}) Future
DELETE
get({required String url, Map<String, String>? header}) Future
GET
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post({required String url, required Object? body, Map<String, String>? header}) Future
POST
put({required String url, required Object? body, Map<String, String>? header}) Future
PUT
toString() String
A string representation of this object.
inherited

Operators

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