undoManagerAddToScope method

void undoManagerAddToScope({
  1. required UndoManagerRef ref,
  2. required List<YType> ytypes,
})

Implementation

void undoManagerAddToScope({
  required UndoManagerRef ref,
  required List<YType> ytypes,
}) {
  _undoManagerAddToScope([
    ref.toWasm(),
    ytypes.map(YType.toWasm).toList(growable: false),
  ]);
}