asNum method

num asNum({
  1. num defaultValue = 0,
})

Implementation

num asNum({
  num defaultValue = 0,
}) =>
    asNullableNum() ?? defaultValue;