permissions property

  1. @override
List<Permission> get permissions
override

The list of permissions that this package need.

See PermissionGroup for a list of possible permissions.

For Android permission in the Manifest.xml file, see Manifest.permission

Implementation

@override
List<Permission> get permissions => [
      Permission.location,
      Permission.bluetoothScan,
    ];