MockRentTariff class final

Rent tariff of one country: rent days → USD, and whether rents can be extended (1) or not (0).

Constructors

MockRentTariff({required Map<int, double> days, int extend = 1})
Creates a tariff.
const

Properties

days → Map<int, double>
Rent days → price, USD.
final
extend → int
1: rents of this country can be extended; 0: they cannot.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited