isValidForBroadcast method
Checks if key
and value
is eligible for this subscription.
Implementation
bool isValidForBroadcast(dynamic key, dynamic value) =>
(key == this.key) && ((value == null && nullOk) || value is T);
Checks if key
and value
is eligible for this subscription.
bool isValidForBroadcast(dynamic key, dynamic value) =>
(key == this.key) && ((value == null && nullOk) || value is T);