opermission/src/main/java/co/omkar/utility/opermission/RequestPermission.java
public RequestPermission with(PermBean permBean) {
        if (permBean.getPermissions().isEmpty()) {
            throw new NullPointerException("Permission and Message collection cannot be null !");
        }
        RequestPermission.permBean = permBean;
        return this;
    }
public RequestPermission with(PermBean permBean) {
        if (permBean.getPermissions().isEmpty()) {
            throw new NullPointerException("Permission and Message collection cannot be null !");
        }
        RequestPermission.permBean = permBean;
        return this;
    }
Set a permission and message wrapper class {@link PermBean}
with desired permission/s and respective messages.

@param permBean A wrapper class containing
permissions to be asked and
respective message to be shown.
@return modified object of RequestPermission containing
permissions to be asked and respective messages to be shown.