deleteProperties method
Deletes multiple properties from the current subscription.
Parameters:
properties
: List of property names to delete
Example:
await SuperFCM.instance.deleteProperties(['temporary', 'oldFeature']);
Implementation
Future<bool> deleteProperties(List<String> properties) async {
return _queueOrExecute("deleteProperties", () async {
logger.d('Deleting properties: ${properties.join(', ')}');
return await updateProperties(
Map.fromEntries(properties.map((key) => MapEntry(key, null))),
);
});
}