numbers static method

bool numbers(
  1. String? value
)

Implementation

static bool numbers(String? value) =>
    exists(value) && int.tryParse(value!) != null;