canUndo method

  1. @override
Future<bool> canUndo()
override

Checks if a redo operation is possible.

example:

bool canRedo = await historyManager.canRedo();

Returns a Future<bool> that resolves to true if redo is possible, otherwise false.

Implementation

@override
Future<bool> canUndo() async {
  return await _channel.invokeMethod('annotation_can_undo');
}