setupAppIcon method

  1. @override
Future<bool?> setupAppIcon(
  1. String iconName
)
override

Implementation

@override
Future<bool?> setupAppIcon(String iconName) async {
  if (!iconList.contains(iconName)) return false;
  await methodChannel.invokeMethod("setupIconList", iconList);
  final result =
      await methodChannel.invokeMethod<bool>('setupAppIcon', iconName);
  return result;
}