sizeBytes property

int? sizeBytes
final

Size of the session file in bytes, when known from the filesystem.

Lets hosts skip or refuse to load pathological sessions (hundreds of MB) without reading them — loading one monopolizes the Dart heap and sends the VM into a permanent GC storm.

Implementation

final int? sizeBytes;