hasPermission static method Null safety

Future<bool> hasPermission()

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


static Future<bool> hasPermission() async =>