Fuel

data class Fuel(val amount: Volume) : Consumption

A fuel consumption.

Parameters

amount

The fuel volume, e.g. in liters.

Constructors

Link copied to clipboard
constructor(amount: Volume)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard
open operator override fun compareTo(other: Consumption): Int

Compares this object with another consumption object of the same consumption type.