collectionName is used to identify collections of same type
For example, if Preference is a class that extends AtCollectionModel then collectionName can be "preferences"
Defaulted to the name of the dart class in lowercase
Populated state of AtCollectionModel from its JSON representation.
class that extends AtCollectionModel has to override this method to populate object's state.
toJson method returns JSON representation of the object.
The save method invokes this method to get the state which will be persisted to the secondary server.
Returns an instance of a class extending AtCollectionModel for the given id, namespace and collectionName
An instance of AtJsonCollectionModel is returned If a specific factory class for a given collection name is not registered
Factory class for a collectionName can be registered using method AtCollectionModel.registerFactories(factories)
Returns list of AtCollectionModels that are shared by the given atSignatSign is an optional argument and if not passed returns all of the AtCollectionModels shared by any atSign
Returns an empty list when nothing has been shared
Registers list of AtCollectionModelFactory instances.
These factories will be used while creating specific sub classes of AtCollectionModel for a given collection