UIRequestPermission typedef
UIRequestPermission =
Future<bool> Function(BuildContext context, 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);