copyWith method
Creates a copy of this input with the given fields replaced.
Implementation
NotificationActionInput copyWith({
String? id,
String? title,
String? placeholder,
bool? multiline,
}) {
return NotificationActionInput(
id: id ?? this.id,
title: title ?? this.title,
placeholder: placeholder ?? this.placeholder,
multiline: multiline ?? this.multiline,
);
}