exists property Null safety

bool exists

Signals whether or not the data exists. true if the document exists.

Implementation

bool get exists => jsObject.exists;