addSource method
- Source source
Adds a Source to the current style. Sources with multi-phase add
requirements (e.g. GeoJsonSource with initial data) override
Source.addToStyle to handle their specifics.
Implementation
Future<void> addSource(Source source) => source.addToStyle(_impl);