setIcon method

Future<void> setIcon(
  1. String icon, {
  2. bool shouldKeepAlive = true,
})

Sets new icon. If changing icon requires closing the app and shouldKeepAlive is true, plugin will attempt to restart the app

Implementation

Future<void> setIcon(String icon, {bool shouldKeepAlive = true}) {
  throw UnimplementedError(
      'setIcon(String icon, {bool shouldKeepAlive = true}) has not been implemented.');
}