asDoubleOrNull property

double? get asDoubleOrNull

Get the double value of this JSON value, or null if other type.

Implementation

double? get asDoubleOrNull => value is double ? value as double : null;