WebNotificationDetails constructor

const WebNotificationDetails({
  1. List<WebNotificationAction> actions = const <WebNotificationAction>[],
  2. WebNotificationDirection direction = WebNotificationDirection.auto,
  3. Uri? badgeUrl,
  4. Uri? iconUrl,
  5. String? lang,
  6. bool requireInteraction = false,
  7. bool isSilent = false,
  8. Uri? imageUrl,
  9. bool renotify = false,
  10. DateTime? timestamp,
})

A const constructor.

Implementation

const WebNotificationDetails({
  this.actions = const <WebNotificationAction>[],
  this.direction = WebNotificationDirection.auto,
  this.badgeUrl,
  this.iconUrl,
  this.lang,
  this.requireInteraction = false,
  this.isSilent = false,
  this.imageUrl,
  this.renotify = false,
  this.timestamp,
});