data property

T? get data

Get the current data (may be null if not in success state)

Implementation

T? get data => _state.isSuccess ? _state.data : null;