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