addSource method

dynamic addSource(
  1. String id,
  2. dynamic source,
  3. StyleSetterOptions options
)

Implementation

addSource(String id, dynamic source, StyleSetterOptions options) =>
    jsObject.addSource(id, source, options.jsObject);