Http class

Constructors

Http()

Properties

dio → Dio
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

authenticateUser(String apiKey, String customerId, String externalUserId, String companyId) Future<User?>
getAuthenticatedUser(String token) Future<User?>
getBrands(String token) Future<List<Brand>>
getEmbeddedGraphResource(String apiKey, String customerId, String externalUserId, String type, {int? brandId}) Future<String?>
getUser(String apiKey, String customerId, String externalUserId) Future<User?>
me(String apiKey, String customerId) Future<Client?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
uploadAppleHealthArrayData(String apiKey, String customerId, String externalUserId, List<Map<String, String>> data) Future<bool>
uploadAppleHealthArrayDataWithToken(String token, List<Map<String, String>> data) Future<bool>
uploadAppleHealthData(String apiKey, String customerId, String externalUserId, String data) Future<bool>
uploadAppleHealthDataWithToken(String token, String data) Future<bool>
uploadGoogleHealthConnectArrayData(String apiKey, String customerId, String externalUserId, List<Map<String, String>> data) Future<bool>
uploadGoogleHealthConnectArrayDataWithToken(String token, List<Map<String, String>> data) Future<bool>
uploadGoogleHealthConnectData(String apiKey, String customerId, String externalUserId, String data) Future<bool>
uploadGoogleHealthConnectDataWithToken(String token, String data) Future<bool>

Operators

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