getModelsSharedByAnyAtSign<T extends AtCollectionModel> static method
Returns list of AtCollectionModels that are shared any atSign Returns an empty list when nothing has been shared
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)
Implementation
static Future<List<T>>
getModelsSharedByAnyAtSign<T extends AtCollectionModel>() async {
AtCollectionModelFactoryManager.getInstance()
.register(_jsonCollectionModelFactory);
return _atCollectionQueryOperations.getModelsSharedByAnyAtSign();
}