setAlternateIconName method
Sets the app icon to iconName, or restores default icon if iconName is null or empty.
Implementation
@override
Future<void> setAlternateIconName(
String? iconName, {
bool showAlert = true,
}) async {
await methodChannel.invokeMethod<void>('setAlternateIconName', <String, dynamic>{
'iconName': iconName,
'showAlert': showAlert,
});
}