TableApi class

Inheritance
Annotations

Constructors

TableApi({Route base, Map<String, CodecRepo> converters, Duration timeout = const Duration(minutes: 2)})

Properties

base Route
final
basePath String
final, inherited
converters Map<String, CodecRepo>
final
hashCode int
The hash code for this object. [...]
read-only, inherited
jsonConverter CodecRepo<String>
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timeout Duration
final

Methods

createTable(String authorization, String xAPIKey, String xPin, Table body) Future<Table>
Create Table [...]
@PostReq(path: "/table", metadata: {"auth" : [{"type" : "apiKey", "name" : "JWT", "keyName" : "Authorization", "where" : "header"}]})
decodeList<T>(StringResponse response) Future<List<T>>
inherited
decodeOne<T>(StringResponse response) Future<T>
inherited
deleteTableByID(String id, String authorization, String xAPIKey, String xPin) Future<void>
Delete Table By ID [...]
@DeleteReq(path: "/table/:id", metadata: {"auth" : [{"type" : "apiKey", "name" : "JWT", "keyName" : "Authorization", "where" : "header"}]})
findTable(String authorization, String xAPIKey, String xPin, num limit, num offset, String sort, String direction, List<String> filter, bool withDeleted) Future<List<Table>>
Get Table List [...]
@GetReq(path: "/table", metadata: {"auth" : [{"type" : "apiKey", "name" : "JWT", "keyName" : "Authorization", "where" : "header"}]})
getTableByID(String id, String authorization, String xAPIKey, String xPin) Future<Table>
Get Table By ID [...]
@GetReq(path: "/table/:id", metadata: {"auth" : [{"type" : "apiKey", "name" : "JWT", "keyName" : "Authorization", "where" : "header"}]})
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
updateTableByID(String id, String authorization, String xAPIKey, String xPin, Table body) Future<Table>
Update Table By ID [...]
@PutReq(path: "/table/:id", metadata: {"auth" : [{"type" : "apiKey", "name" : "JWT", "keyName" : "Authorization", "where" : "header"}]})

Operators

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