map

open override fun map(matrixResponse: MatrixResponse): List<MatrixModel>

Filter data and create MatrixModel for every destination which we pass into MatrixDistanceDataSource

Parameters

matrixResponse

contains all the data for the coordinates between which we need to get eta and distance.