method propertyForAttribute


Declaration propertyForAttribute(String name)

Return the published property matching name, or null.

Source

// TODO(jmesserly): should we just return Symbol here?
smoke.Declaration propertyForAttribute(String name) {
  final publishLC = _element._publishLC;
  if (publishLC == null) return null;
  return publishLC[name];
}