exists method

bool exists()

Returns true if this DataSnapshot contains any data.

Implementation

bool exists() => jsObject.exists();