asNum property

num get asNum

The value as a num, or throw if not.

Implementation

num get asNum => throw StateError('Not a num.');