setBadge function

Future<void> setBadge(
  1. int count
)

Implementation

Future<void> setBadge(int count) async {
  if(count<0) count = 0;
  await _channel.invokeMethod("setBadge",count);
}