nullSafe method

double nullSafe({
  1. double? value,
})

可选默认值

Implementation

double nullSafe({double? value}) {
  return (this ?? value).nullSafeOrEmpty;
}