fetchVehicleModels

open suspend override fun fetchVehicleModels(manufacturer: Manufacturer): Error?

Gets vehicle models data of specified manufacturer from BeMap and saves it in local database.

Return

Error indicating what went wrong or null if refresh was successful

Parameters

manufacturer

manufacturer to use for the request : only vehicle models of this manufacturer will be fetched.