ApiGroups class

Provides API for working with groups

Constructors

ApiGroups({required ClientOptions options})

Properties

apiUrl String
no setterinherited
cdnUrl String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
options ClientOptions
final
privateKey String?
no setterinherited
publicKey String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uploadUrl String
no setterinherited
useAgent String
no setterinherited

Methods

buildUri(String url, [Map<String, dynamic> params = const {}]) Uri
inherited
create(Map<String, List<ImageTransformation>> files) Future<GroupInfoEntity>
Create a group
createMultipartRequest(String method, Uri uri, [bool authorizeRequest = true]) → UcMultipartRequest
inherited
createRequest(String method, Uri uri, [bool authorizeRequest = true]) → UcRequest
inherited
delete(String id) Future<void>
ensureRightVersion(double expectedVersion, String prefix, {bool? exact}) → void
inherited
group(String id) Future<GroupInfoEntity>
Retrieve group by id
list({int limit = 100, OrderDirection orderDirection = OrderDirection.Asc, int? offset, DateTime? fromDate}) Future<ListEntity<GroupInfoEntity>>
Retrieve groups
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveStoreModeParam(bool? storeMode) String
inherited
resolveStreamedResponse(FutureOr<StreamedResponse> streamedResponse) Future
inherited
resolveStreamedResponseStatusCode(FutureOr<StreamedResponse> streamedResponse) Future<Response>
inherited
storeFiles(String id) Future<void>
Mark all files in a group as stored
toString() String
A string representation of this object.
inherited

Operators

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