Checkbox preselected not working

My checkbox view looks something like this

<div class="col-md-6">
@forelse($rooms as $index => $value)
    <fieldset>
        {{ Form::checkbox('room'.$index.'room', $value->id, NULL, ['id'=>'input-'.$value->id, 'wire:model'=>"room.$index.room"]) }}
        {{ Form::label('input'.$index.'room', $value->room_type) }}
        <div class="row">
            <div class="col-md-6">
                {{ Form::number('room'.$index.'price', null, ['class'=>'form-control', 'min'=>0, 'placeholder' => trans('administration.price'), 'wire:model'=>"room.$index.price"]) }}
            </div>
            <div class="col-md-6">
                {{ Form::number('room'.$index.'discount', 0, ['class'=>'form-control', 'min'=>0, 'placeholder' => trans('administration.discount'), 'wire:model'=>"room.$index.discount"]) }}
            </div>
        </div>
    </fieldset>
@empty
@endforelse

In my livewire edit component I added the following to retrieve the checkbox

$this->edit_room = $this->editHotel->room()->pluck('room_id')->toArray();

I need to return all the data from the pivot table beside the checkbox is checked.