getSize abstract method

int getSize({
  1. bool includeIndexes = false,
})

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});