asNum property

num asNum

The value as a num, or throw if not.

Implementation

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