getSize abstract method

Future<int> getSize({
  1. bool includeIndexes = false,
  2. bool includeLinks = false,
})

Returns the size of all the collections in bytes. Not supported on web.

This method is extremely fast and independent of the number of objects in the instance.

Implementation

Future<int> getSize({bool includeIndexes = false, bool includeLinks = false});