data property

T? data
final

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.

Implementation

final T? data;