hasPermission static method Null safety
Checks if the required platform permission to read contacts is granted or not.
On Android 11+ and all xiaomi devices this will check the Manifest.permission.READ_CONTACTS
permission
On Android 10 and prior, iOS and web this will always return true
See Also requestPermission
Implementation
static Future<bool> hasPermission() async =>
ContactPickerPlatform.instance.hasPermission();