totalCount property

int? get totalCount

The number of matches. A filtered QUERY sends it only when the request asked for it (wantTotal), and a page fetched with a cursor never does.

Implementation

int? get totalCount => headers['X-Total-Count'] as int?;