switchIcon method

  1. @override
Future<void> switchIcon({
  1. required String iconKey,
  2. required String previousIconKey,
})
override

Implementation

@override
Future<void> switchIcon({
  required String iconKey,
  required String previousIconKey,
}) async {
  return await methodChannel.invokeMethod(
    "switch_icon",
    [iconKey, previousIconKey],
  );
}