apiKey property

String? apiKey
final

API key for authentication with tile servers. If provided, it will be added as a bearer token in the Authorization header for all requests. This is a convenience parameter that internally creates a transformRequest function. If both apiKey and transformRequest are provided, transformRequest takes precedence.

Implementation

final String? apiKey;