UIRequestPermission typedef Null safety

Future<bool> UIRequestPermission(
  1. BuildContext context,
  2. Track track
)

The requestPermissions callback allows you to provide an UI informing the user that we are about to ask for a permission.

Implementation

typedef UIRequestPermission = Future<bool> Function(
    BuildContext context, Track track);