src/Models/Assets/CharacterAsset.php
public function getUsedVolumeAttribute()
    {

        $content = $this->content;

        if (! is_null($content))
            return $content->sum(function ($item) {

                return $item->type->volume;
            });

        return 0.0;
    }
public function getUsedVolumeAttribute()
    {

        $content = $this->content;

        if (! is_null($content))
            return $content->sum(function ($item) {

                return $item->type->volume;
            });

        return 0.0;
    }
public function getUsedVolumeAttribute ( ) { $ content = $ this -> content ; if ( ! is_null ( $ content ) ) return $ content -> sum ( function ( $ item ) { return $ item -> type -> volume ; } ) ; return 0.0 ; }
Provide the used space based on stored item volume.

@return float
Provide the used space based on stored item volume .