removeImage method

  1. @protected
Future<void> removeImage(
  1. Id id
)

Removes the current image.

The previous image will be cleaned up, if needed. The flags required to show an image will be unset. And the changes will be registered with Windows.

The result will be a transparent / blank icon.

Implementation

@protected
Future<void> removeImage(Id id) async {
  await _channel.invokeMethod('removeImage', {'id': id});
}