undoManagerUndo method
Implementation
Result<bool, Error> undoManagerUndo({
required UndoManagerRef ref,
}) {
final results = _undoManagerUndo([ref.toWasm()]);
final result = results[0];
return Result.fromJson(result, (ok) => ok! as bool,
(error) => error is String ? error : (error! as ParsedString).value);
}