exists property

bool get exists

Whether the document exists.

Implementation

bool get exists => document != null;