showCompleteNotification method

Future<void> showCompleteNotification({
  1. int notificationId = 1,
  2. String channelId = 'channel_id',
  3. String title = 'Completed',
  4. String content = 'Done',
})

Implementation

Future<void> showCompleteNotification({
  int notificationId = 1,
  String channelId = 'channel_id',
  String title = 'Completed',
  String content = 'Done',
}) async {
  await _channel.invokeMethod('$_name/showCompleteNotification', {
    'notificationId': notificationId,
    'channelId': channelId,
    'title': title,
    'content': content,
  });
}