canRedo method

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

Checks if an undo operation is possible.

example:

bool canUndo = await historyManager.canUndo();

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

Implementation

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