toZero property

int get toZero

Implementation

int get toZero => ((isNullOrEmpty == true) || this == "null")
    ? 0
    : (int.tryParse("$this") ?? 0);