requestPermissions static method
If you're using more than one DataType it's advised to call requestPermissions with all the data types once, otherwise iOS HealthKit will ask to approve every permission one by one in separate screens.
await FitKit.requestPermissions(DataType.values)
Implementation
static Future<bool> requestPermissions(List<DataType> types) async {
return await _channel.invokeMethod('requestPermissions', {
"types": types.map((type) => _dataTypeToString(type)).toList(),
});
}