asNum property

num? get asNum

Implementation

num? get asNum => value is num ? value as num : null;