ProfilesClient class
A Client that helps manage profiles and returns coinbase_exchange objects
Constructors
- ProfilesClient({bool sandbox = false, required String apiKey, required String secretKey, required String passphrase})
Properties
- apiKey ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- passphrase ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sandbox ↔ bool
-
getter/setter pair
- secretKey ↔ String
-
getter/setter pair
Methods
-
createProfile(
{String? name}) → Future< Profile> - Create a profile
-
deleteProfile(
{required String profileId, required String to}) → Future< Map> - Delete a profile
-
getProfileById(
{required String profileId, bool? active}) → Future< Profile> - Get profile by id
-
getProfiles(
{bool? active}) → Future< List< Profile> > - Get profiles
-
listDecode(
String body) → List< Map< String, dynamic> > -
A helper function to decode lists from coinbase
inherited
-
mapDecode(
String body) → Map< String, dynamic> -
A helper function to decode maps from coinbase
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
renameProfile(
{required String profileId, required String name}) → Future< Profile> - 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< Map> - Transfer funds between profiles
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited