setImageAsWinIcon method
Sets the icon's image, by loading a default icon.
Check out the WinIcon enum for a list of available icons.
Implementation
@protected
Future<void> setImageAsWinIcon(Id id, int resourceId) async {
await _channel.invokeMethod(
'setImageAsWinIcon', {'id': id, 'resourceId': resourceId});
}