toBlocked method
Returns a new instance with the provided uid blocked.
Implementation
NotificationTopic toBlocked([String? uid]) {
return NotificationTopic(
name: this.name,
subjectUid: uid ?? this.subjectUid,
blocked: true,
);
}
Returns a new instance with the provided uid blocked.
NotificationTopic toBlocked([String? uid]) {
return NotificationTopic(
name: this.name,
subjectUid: uid ?? this.subjectUid,
blocked: true,
);
}