disableHiHealth static method
Disables the Health Kit function, cancels user authorization, and cancels all data records. (The task takes effect in 24 hours.)
Implementation
static Future<void> disableHiHealth() async {
await _channel.invokeMethod<void>(
'disableHiHealth',
);
}