getSource method

dynamic getSource(
  1. String id
)

Get a source by id. @param {string} id id of the desired source @returns {Object} source

Implementation

dynamic getSource(String id) => jsObject.getSource(id);