peek method

DocumentData? peek()

Returns the data that is currently available on the client or null if data has not yet been populated.

Implementation

DocumentData? peek() => _isTracked() && hasData ? data : null;