HttpService class

Constructors

HttpService({@required String baseUrl, String tokenPrefix = 'JWT'})

Properties

baseUrl String
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
token ← dynamic
write-only

Methods

create({String path, Map<String, String> body, List<File> attachments}) Future<bool>
delete({String path}) Future
jwtLogin({String path, dynamic body, bool withoutHeader = false}) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
read({String path, Map<String, dynamic> params}) Future
tokenRefresh() Future
toString() String
A string representation of this object. [...]
inherited
update({String path, dynamic body}) Future<bool>

Operators

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