Api class abstract

Implementers

Constructors

Api(ApiConfig _config)

Properties

baseUrl 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

Methods

get(String path, {Map<String, String>? customHeaders}) Future<Response>
getAuth(String path, PrivateKey withPrivateKey) Future<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String path, String body, {Map<String, String>? customHeaders}) Future<Response>
postAuth(String path, String content, PrivateKey withPrivateKey) Future<Response>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

headers(Map<String, String>? customHeaders) Map<String, String>