EntitySubscription<T extends Identifiable<String> > constructor
EntitySubscription<T extends Identifiable<String> > ()
Implementation
factory EntitySubscription(String instanceId, T Function(Map<String, dynamic>) decodeT) {
final subscription = EntitySubscription._(instanceId, decodeT);
_finalizer.attach(subscription, instanceId, detach: subscription);
return subscription;
}