getElementById method

Element? getElementById(
  1. String elementId
)

Implementation

Element? getElementById(String elementId) =>
    js_util.callMethod(this, 'getElementById', [elementId]);