withMeta
withMeta is a mixin that exposes some metadata on the PureModel. The mixin is already applied to the regular Model.
The mixin exposes a meta property with the following properties:
collection- (Optional) A collection the model belongs toid- The model idtype- The model typeoriginal- (Optional) The original model if the model is a clonerefs- An object with reference ids. The keys are reference names, while the values can be either ids or array of ids (depending on the reference type).snapshot- An immutable snapshot of the model at this exact moment