getNumericValue function

int? getNumericValue(
  1. String? s
)

Implementation

int? getNumericValue(String? s) {
  return int.tryParse(s??"");
}