syncCollections property

List<DataCollection> get syncCollections

Implementation

List<DataCollection> get syncCollections => (enabled && syncToServer)
    ? _collections
        .where(
          (element) => element.syncToServer,
        )
        .toList()
    : [];