createAttributeStatements method
List<Statement>
createAttributeStatements(
- Binding binding,
- String elementName,
- NodeReference renderNode, {
- required bool isHtmlElement,
Implementation
List<o.Statement> createAttributeStatements(
ir.Binding binding,
String elementName,
NodeReference renderNode, {
required bool isHtmlElement,
}) {
var expression = _toExpression(binding.source, o.THIS_EXPR);
return bindingToUpdateStatements(
binding,
o.THIS_EXPR,
renderNode,
isHtmlElement,
expression,
);
}