@NonNull open static fun create(fromMap: MutableMap<Int!, Double!>!): SpeedToConsumptionMap
A static method that returns a new instance of SpeedToConsumptionMap
. A map in a new instance that copies all values from that passed as parameter map.
fromMap
- MutableMap<Int!, Double!>!: A reference map that values will be copied into in a new instance of this class.