SimpleAPI class
A Calculator.
Constructors
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
call(
String method, String url, {dynamic body, Function? fromJson, String? rootPath, bool? list, dynamic bearer = "", Map< String, String> ? headers}) → Future -
defaultHeaders(
{dynamic bearer = ""}) → Future< Map< String, String> > -
delete(
String url, {dynamic body, Function? fromJson, String? rootPath, dynamic bearer = "", Map< String, String> ? headers}) → Future -
get<
T> (String url, {dynamic body, Function? fromJson, String? rootPath, dynamic bearer = "", Map< String, String> ? headers}) → Future<T> -
getList<
T> (String url, {dynamic body, Function? fromJson, String? rootPath, dynamic bearer = "", Map< String, String> ? headers}) → Future<List< T> > -
post<
T> (String url, {dynamic body, Function? fromJson, String? rootPath, dynamic bearer = "", Map< String, String> ? headers}) → Future<T>