createSubscription method
Implementation
NodeReference createSubscription({bool isMockLike = false}) {
final subscription =
NodeReference._subscription('subscription_${subscriptions.length}');
subscriptions.add(subscription.toReadExpr());
if (isMockLike) {
subscribesToMockLike = true;
}
return subscription;
}