src/Shipping/FreeShipping.php
public function calculate($checkoutFormData)
    {
        $view = view($this->view)->with('shippingOption', $this);

        return $view->render();
    }
public function calculate($checkoutFormData)
    {
        $view = view($this->view)->with('shippingOption', $this);

        return $view->render();
    }
public function calculate ( $ checkoutFormData ) { $ view = view ( $ this -> view ) -> with ( 'shippingOption' , $ this ) ; return $ view -> render ( ) ; }
Calculate the cost of Shipping based on Checkout Form Data.

@param \Illuminate\Support\Collection $cartProducts
@return self
Calculate the cost of Shipping based on Checkout Form Data .