safeDoubleValue property

double get safeDoubleValue

安全取 double 值:null → 0.0。

Implementation

double get safeDoubleValue => (this ?? 0).toDouble();