getIntOrZero static method

int getIntOrZero(
  1. String key
)

Implementation

static int getIntOrZero(
  String key,
) =>
    getIntOrNull(key) ?? 0;