setBadgeCounts static method
Update badge counts per tab (null/0 clears a badge).
Implementation
static Future<void> setBadgeCounts(List<int?> badgeCounts) async {
if (!_enabled) return;
await _channel.invokeMethod('setBadgeCounts', {'badgeCounts': badgeCounts});
}