safeValue property

int get safeValue

安全取值:null → 0,否则返回自身。

Implementation

int get safeValue => this ?? 0;