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