Creates a custom ref to an object, which in its snapshot form has an id.
Unique model type id.
Custom reference options.
A function that allows you to construct that type of custom reference.
T Target object type.
Creates a custom ref to an object, which in its snapshot form has an id.