float property Null safety

double? float

Returns a double or null if rawValue is not a double

Implementation

double? get float => (_rawValue is double) ? _rawValue as double : null;