saveCurrentPencil method
Save the currently drawing pencil annotation This method is only available on the iOS platform. Example:
await controller.saveCurrentPencil();
Throws an exception if called on a platform other than iOS.
Implementation
Future<void> saveCurrentPencil() async {
if(defaultTargetPlatform != TargetPlatform.iOS){
throw Exception('saveCurrentPencil is only available on iOS platform');
}
return await _channel.invokeMethod('save_current_pencil');
}