WhatsAppStickers class
Implementation of the WhatsApp Stickers API for Flutter.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addStickerPack(
{WhatsAppPackage packageName = WhatsAppPackage.Consumer, String? stickerPackIdentifier, String? stickerPackName, MessageHandler? listener}) → void - Add a sticker pack to whatsapp.
-
isStickerPackInstalled(
String stickerPackIdentifier) → Future< bool> - Check if a sticker pack is installed on WhatsApp
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updatedStickerPacks(
String stickerPackIdentifier) → void - Updated sticker packs
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
isWhatsAppConsumerAppInstalled
→ Future<
bool> -
Check if the WhatsApp consumer package is installed
no setter
-
isWhatsAppInstalled
→ Future<
bool> -
Check if WhatsApp is installed
This will check both the comsumer and business packages
no setter
-
isWhatsAppSmbAppInstalled
→ Future<
bool> -
Check if the WhatsApp business package is installed
no setter
-
platformVersion
→ Future<
String> -
Get the platform version
no setter
Static Methods
-
launchWhatsApp(
) → void - Launch WhatsApp
Constants
- businessWhatsAppPackageName → const String
- consumerWhatsAppPackageName → const String