Checkbox preselected not working

My checkbox view looks something like this

<div class="col-md-6">
@forelse($rooms as $index => $value)
        {{ Form::checkbox('room'.$index.'room', $value->id, NULL, ['id'=>'input-'.$value->id, 'wire:model'=>"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 class="col-md-6">
                {{ Form::number('room'.$index.'discount', 0, ['class'=>'form-control', 'min'=>0, 'placeholder' => trans(''), 'wire:model'=>"room.$"]) }}

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.