askForPermission function

Future<PermissionOutcome> askForPermission(
  1. List<HealthResource> readResources,
  2. List<HealthResourceWrite> writeResources
)

Implementation

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