currentContentVersion property

int get currentContentVersion

The content revision number of whatever current holds right now — 0 before any verified fetch has ever been applied (withHistory only; always 0 for the other 2 constructors).

Implementation

int get currentContentVersion =>
    _history.isEmpty ? 0 : _history.last.contentVersion;