ProfilesRestClient class

A RestClient that helps manage profiles and returns http.Response objects

Inheritance

Constructors

ProfilesRestClient({bool sandbox = false, required String apiKey, required String secretKey, required String passphrase})

Properties

apiKey String?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
passphrase String?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sandbox bool
finalinherited
secretKey String?
getter/setter pairinherited

Methods

createPaginationQueryParameters({int? before, int? after, int? limit}) Map<String, dynamic>
inherited
createProfile({String? name}) Future<Response>
Create a profile
delete({required String path, Map<String, String>? headers, Map<String, dynamic>? queryParameters}) Future<Response>
A DELETE method for coinbase exchange which automatically manages signing for authorization.
inherited
deleteProfile({required String profileId, required String to}) Future<Response>
Delete a profile
get({required String path, Map<String, String>? headers, Map<String, dynamic>? queryParameters}) Future<Response>
A GET method for coinbase exchange which automatically manages signing for authorization.
inherited
getAfterHeader(Response response) int?
inherited
getBeforeHeader(Response response) int?
inherited
getProfileById({required String profileId, bool? active}) Future<Response>
Get profile by id
getProfiles({bool? active}) Future<Response>
Get profiles
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post({required String path, Map<String, String>? headers, Map<String, dynamic>? body}) Future<Response>
A POST method for coinbase exchange which automatically manages signing for authorization.
inherited
put({required String path, Map<String, String>? headers, Map<String, dynamic>? body}) Future<Response>
A PUT method for coinbase exchange which automatically manages signing for authorization.
inherited
renameProfile({required String profileId, required String name}) Future<Response>
Rename a profile
toString() String
A string representation of this object.
inherited
transferFundsBetweenProfiles({required String from, required String to, required String currency, required double amount}) Future<Response>
Transfer funds between profiles

Operators

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