askForPermission function
Future<PermissionOutcome>
askForPermission(
- List<
HealthResource> readResources, - List<
HealthResourceWrite> writeResources
Implementation
Future<PermissionOutcome> askForPermission(List<HealthResource> readResources,
List<HealthResourceWrite> writeResources) async {
return VitalHealthPlatform.instance.ask(readResources, writeResources);
}