getWatermarkCount method
Gets the number of watermarks in the current document.
Returns: The watermark count.
Since v2.6.8
example:
final int count = await controller.document.getWatermarkCount();
print('Watermark count: $count');
Implementation
Future<int> getWatermarkCount() async {
return await _channel.invokeMethod('get_watermark_count') ?? 0;
}