HubApi class

Inheritance

Constructors

HubApi(String baseUrl)

Properties

baseUrl String
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bindResource(ApiResource resource) → void
inherited
delete(String suffix, {Map<String, dynamic>? urlParams, Map<String, String?>? query}) Future<ApiResponse<void>>
inherited
getList<TResponse>(String suffix, {Map<String, dynamic>? urlParams, Map<String, String?>? query, TransferBean<TResponse>? bean}) Future<ApiResponse<List<TResponse>>>
inherited
getObject<TResponse>(String suffix, {Map<String, dynamic>? urlParams, Map<String, String?>? query, TransferBean<TResponse>? bean}) Future<ApiResponse<TResponse>>
inherited
getRequestHeaders() Map<String, String>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchObject<TResponse>(String suffix, dynamic object, {Map<String, dynamic>? urlParams, Map<String, String?>? query, TransferBean<TResponse>? bean}) Future<ApiResponse<TResponse>>
inherited
postObject<TResponse>(String suffix, dynamic object, {Map<String, dynamic>? urlParams, Map<String, String?>? query, TransferBean<TResponse>? bean}) Future<ApiResponse<TResponse>>
inherited
putObject<TResponse>(String suffix, dynamic object, {Map<String, dynamic>? urlParams, Map<String, String?>? query, TransferBean<TResponse>? bean}) Future<ApiResponse<TResponse>>
inherited
rawRequest<TResponse>(ApiRequestMethod method, String suffix, {dynamic body, Map<String, dynamic>? urlParams, Map<String, String?>? query, TransferBean<TResponse>? bean}) Future<ApiResponse<TResponse>>
inherited
toString() String
A string representation of this object.
inherited

Operators

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