getSize abstract method
Returns the size of all the collections in bytes.
For the native DatabaseUniverse storage engine this method is extremely fast and independent of the number of objects in the instance.
Implementation
int getSize({bool includeIndexes = false});