isStickerPackInstalled method

  1. @override
Future<bool> isStickerPackInstalled(
  1. String identifier
)
override

Checks if a StickerPack with the given identifier is available in WhatsApp

Implementation

@override
Future<bool> isStickerPackInstalled(String identifier) async {
  final bool? isInstalled = await methodChannel.invokeMethod<bool>(
    'isStickerPackAdded',
    {'identifier': identifier},
  );
  return isInstalled ?? false;
}