MPRestClient class

Constructors

MPRestClient()

Properties

BASE_URL String
final
hashCode int
The hash code for this object.
no setterinherited
MIME_FORM String
final
MIME_JSON String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String uri, {Map<String, String> params = const {}}) Future<Map<String, dynamic>>
get(String uri, [Map<String, String>? params]) Future<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String uri, {Map<String, dynamic> data = const {}, Map<String, String>? params, String? contentType}) Future<Map<String, dynamic>>
put(String uri, {Map<String, dynamic> data = const {}, Map<String, String>? params, String? contentType}) Future<Map<String, dynamic>>
toString() String
A string representation of this object.
inherited

Operators

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