gradient

@Serializable(with = ColorAsHexSerializer::class)
var gradient: Int?

The gradient with which to color a line feature. Can only be used with GeoJSON sources that specify "lineMetrics": true.