from

open fun from(@NonNull route: Route): RouteData.Builder

Returns a builder able to create a route instance

By default the route is constructed with Primary type

Return

Builder for a MapRoute class

Parameters

Route

Data describing the route