toIntOrZero method

int toIntOrZero()

Implementation

int toIntOrZero() => int.tryParse(this?.trim() ?? '') ?? 0;