isNumber function

bool isNumber(
  1. String? input
)

Implementation

bool isNumber(String? input) => num.tryParse(input ?? '') != null;