sdk-routing / com.tomtom.online.sdk.data / SpeedToConsumptionMap / create

create

@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.

Parameters

fromMap - MutableMap<Int!, Double!>!: A reference map that values will be copied into in a new instance of this class.