isUndefined method

bool isUndefined()

Checks if the snapshot has a null value. Returns true if the snapshot is ok but the data is null.

Implementation

bool isUndefined() => isOk() && data == null;