totalBytes property

int get totalBytes

Total resident bytes across the categories that can report a size.

Implementation

int get totalBytes =>
    categories.fold(0, (sum, category) => sum + (category.bytes ?? 0));