copyWith method
Copies the current instance and replaces the provided values.
Implementation
NotificationTopic copyWith({
String? name,
String? subjectUid,
bool? blocked,
}) {
return NotificationTopic(
name: name ?? this.name,
subjectUid: subjectUid ?? this.subjectUid,
blocked: blocked ?? this.blocked,
);
}