src/Dashboard/SharpDashboard.php
function widgetsLayout(): array
    {
        if(!$this->layoutBuilt) {
            $this->buildWidgetsLayout();
            $this->layoutBuilt = true;
        }

        return [
            "rows" => collect($this->rows)->map(function(DashboardLayoutRow $row) {
                return $row->toArray();
            })->all()
        ];
    }
function widgetsLayout(): array
    {
        if(!$this->layoutBuilt) {
            $this->buildWidgetsLayout();
            $this->layoutBuilt = true;
        }

        return [
            "rows" => collect($this->rows)->map(function(DashboardLayoutRow $row) {
                return $row->toArray();
            })->all()
        ];
    }
function widgetsLayout ( ) : array { if ( ! $ this -> layoutBuilt ) { $ this -> buildWidgetsLayout ( ) ; $ this -> layoutBuilt = true ; } return [ "rows" => collect ( $ this -> rows ) -> map ( function ( DashboardLayoutRow $ row ) { return $ row -> toArray ( ) ; } ) -> all ( ) ] ; }
Return the dashboard widgets layout.

@return array
Return the dashboard widgets layout .