setSource method

void setSource(
  1. String source
)

Sets image.source (memory / network / disk_cache).

Implementation

void setSource(String source) {
  if (_ended) return;
  _source = source;
  span.setAttribute(Attribute.fromString(ImageConstants.attrSource, source));
}