Collection<S, T extends CollectionEntry<S>>
A mixed collection class, which performs automatic sorting, filtering and
emits events once the operations are performed. This collection can be used
for classes which extends from CollectionEntry.
CollectionEntry<T extends dynamic>
An abstraction for collection entry.
Class which define database error.
This can be extended in future to provide additional functionalities.
CollectionOperationCallback<T>(dynamic result, dynamic error)
Result of a database operation with the
error in order to understand status of the operation.
FilterCallback<T>(T record, dynamic data)
Callback function to perform filter operation.
If the return value is
true then that record will be included in the filtered result.
This function accepts
Model as input parameter.
SortComparerCallback<T extends CollectionEntry>(T record1, T record2)