integer_or method

int integer_or(
  1. int index,
  2. int defaultValue
)

Implementation

int integer_or(int index, int defaultValue) =>
    int.tryParse(this.cells.elementAt(index)?.value ?? '') ?? defaultValue;