data property

T? data

The latest data received by the asynchronous computation.

If this is non-null, hasData will be true.

If error is not null, this will be null. See hasError.

If the asynchronous computation has never returned a value, this may be set to an initial data value specified by the relevant widget. See FutureBuilder.initialData and StreamBuilder.initialData.


final T? data;