addAttachment method

PushNotification addAttachment(
  1. String url,
  2. String fileName, {
  3. bool? showThumbnail,
})

Add an attachment to the push notification

Implementation

PushNotification addAttachment(String url, String fileName,
    {bool? showThumbnail}) {
  _attachments.add(_PushNotificationAttachments(url, fileName,
      showThumbnail: showThumbnail));
  return this;
}