isData property

bool isData

Checks if the result is Data. Note that this is different from if this notifier currently contains data (i.e. hasData).

Implementation

bool get isData => this is Data<T>;