connect function

Future<void> connect()

Setup a HealthKit (iOS) or Health Connect (Android) connection with this device.

Precondition: configure the SDK with ConnectionPolicy.explicit.

Implementation

Future<void> connect() async {
  return VitalHealthPlatform.instance.connect();
}