toUnblocked method

NotificationTopic toUnblocked([
  1. String? uid
])

Returns a new instance with the provided uid unblocked.

Implementation

NotificationTopic toUnblocked([String? uid]) {
  return NotificationTopic(
    name: this.name,
    subjectUid: uid ?? this.subjectUid,
    blocked: false,
  );
}