checkForIri method

bool checkForIri(
  1. DrawableStyleable? drawable
)

Whether this DrawableStyleable belongs in the DrawableDefinitions or not.

Implementation

bool checkForIri(DrawableStyleable? drawable) {
  final String iri = buildUrlIri();
  if (iri != emptyUrlIri) {
    _definitions.addDrawable(iri, drawable!);
    return true;
  }
  return false;
}