hasValue property

bool hasValue

Return true when query resut has a value, either it is intial value or the result after running query It also indicates whether state implemented the ValueResult contract, regardless the type of the value

Implementation

bool get hasValue => this is ValueResult;