nullSafe method

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

可选默认值

Implementation

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