ApiResource<TData> class abstract

Inheritance
Implementers

Properties

allowDelete bool
final
allowPatch bool
final
allowPost bool
final
bean TransferBean<TData>
final
hashCode int
The hash code for this object.
no setterinherited
routePattern RoutePattern
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

before(ApiRequest request) Future
This method gets called before every call to get, post, put, patch or delete. If this method throws an exception or returns anything other than null, the result is treated as response and the subsequent call to get, post, etc. will be skipped. (Useful for checking authorization.)
inherited
delete(ApiRequest request) Future
inherited
get(ApiRequest request) Future
inherited
getMetaData(ApiRequest request, String name) Future
handleRequest(ApiRequest request) Future<ApiResponse>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(ApiRequest request) Future
inherited
post(ApiRequest request) Future
inherited
put(ApiRequest request) Future
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

isMeta bool Function(String e)
final