addDrawable method
Add a Drawable that can later be referred to by id
.
Implementation
void addDrawable(String id, DrawableStyleable drawable) {
assert(id != null); // ignore: unnecessary_null_comparison
assert(drawable != null); // ignore: unnecessary_null_comparison
assert(id != emptyUrlIri);
_drawables[id] = drawable;
}