FuelOptionsKt

public final class FuelOptionsKt


Summary

Public methods

static final @NonNull FuelOptions

Builds a new FuelOptions.

Public methods

fuelOptions

public static final @NonNull FuelOptions fuelOptions(@NonNull List<@NonNull FuelPrice> fuelPrices)

Builds a new FuelOptions.

Parameters
@NonNull List<@NonNull FuelPrice> fuelPrices

the last known fuel price for each type of fuel this station has

Returns
@NonNull FuelOptions

the constructed FuelOptions