nullSafe method

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

可选默认值

Implementation

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