asNum property Null safety

num asNum

Try to turn this expression into a num.

Implementation

num get asNum => this is ValueExpr ? (this as ValueExpr).asNum : 0;