nullSafe method

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

可选默认值

Implementation

bool nullSafe({bool? value}) {
  return (this ?? value).nullSafeOrFalse;
}