copyWith method

CreateNotificationSchemeDetails copyWith({
  1. String? description,
  2. String? name,
  3. List<NotificationSchemeEventDetails>? notificationSchemeEvents,
})

Implementation

CreateNotificationSchemeDetails copyWith(
    {String? description,
    String? name,
    List<NotificationSchemeEventDetails>? notificationSchemeEvents}) {
  return CreateNotificationSchemeDetails(
    description: description ?? this.description,
    name: name ?? this.name,
    notificationSchemeEvents:
        notificationSchemeEvents ?? this.notificationSchemeEvents,
  );
}