asNumber property

double? get asNumber

Implementation

double? get asNumber => this.isNumber ? this._value as double : null;