asInt method

int asInt({
  1. int defaultValue = 0,
})

Implementation

int asInt({
  int defaultValue = 0,
}) =>
    asNullableInt() ?? defaultValue;