checkPermission method

dynamic checkPermission(
  1. bool isFromPicker,
  2. PermissionType permissionType,
  3. int index
)

Checking permission

Implementation

checkPermission(
    bool isFromPicker, PermissionType permissionType, int index) async {
  PermissionStatus permissionStatus = PermissionStatus.denied;
  askForPermission(
    permissionStatus,
    isFromPicker,
    permissionType,
    index,
  );
}