script static method

ScriptElement script(
  1. String buffer
)

Implementation

static html.ScriptElement script(String buffer) => html.ScriptElement()
  ..async = true
  ..type = 'text/javascript'
  ..appendText(buffer);