create

fun create(applicationContext: Context, accessToken: String, func: DashConfig.Builder.() -> Unit = {}): DashConfig

Creates a new instance of DashConfig.

Parameters

applicationContext

context of the application.

accessToken

access token from your Mapbox account. You can create a new one in your Mapbox Account.

func

extension to mutate options.