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,
  );
}