setPosition method

void setPosition(
  1. Node? node, [
  2. int? offset = 0
])

Implementation

void setPosition(Node? node, [int? offset = 0]) =>
    js_util.callMethod(this, 'setPosition', [node, offset]);