Get the double value of this JSON value, or null if other type.
double? get asDoubleOrNull => value is double ? value as double : null;