copyWith method

Notification copyWith({
  1. String? isNotification,
  2. String? title,
  3. String? message,
  4. String? date,
  5. String? time,
})

Implementation

Notification copyWith({  String? isNotification,
  String? title,
  String? message,
  String? date,
  String? time,
}) => Notification(  isNotification: isNotification ?? _isNotification,
  title: title ?? _title,
  message: message ?? _message,
  date: date ?? _date,
  time: time ?? _time,
);