安全取值:null → 0,否则返回自身(safeValue 的语义化别名)。
0
int get defaultValue { if (this == null) { return 0; } return this!; }