getSizeSync abstract method
Returns the size of all collections in bytes. Not supported on web.
This method is extremely fast and independent of the number of objects in the instance.
Implementation
int getSizeSync({bool includeIndexes = false, bool includeLinks = false});