NotificationOptions constructor

NotificationOptions({
  1. num? timeout,
  2. bool? error,
  3. void onDequeue(
    1. NotifyDequeueReason
    )?,
  4. IInline4? button,
})

Implementation

factory NotificationOptions({
  _i2.num? timeout,
  _i2.bool? error,
  void Function(_i3.NotifyDequeueReason)? onDequeue,
  _i3.IInline4? button,
}) =>
    NotificationOptions._(
      timeout: timeout,
      error: error,
      onDequeue: onDequeue == null ? null : _i5.allowInterop(onDequeue),
      button: button ?? _i7.undefined,
    );