setAlternateIconName static method

Future setAlternateIconName(
  1. String? iconName
)

Set iconName as the current icon for the app

Throw a PlatformException with description if it can't find iconName or there's any other error

Implementation

static Future setAlternateIconName(String? iconName) async {
  await _channel.invokeMethod(
    'mSetAlternateIconName',
    <String, dynamic>{'iconName': iconName},
  );
}