copyWith method

JSNotification copyWith({
  1. String? title,
  2. JSNotificationOptions? options,
})

Implementation

JSNotification copyWith({String? title, JSNotificationOptions? options}) {
  return JSNotification(
    title ?? this.title,
    options ?? this.options,
  );
}