toInt method

int? toInt(
  1. dynamic value
)

Implementation

int? toInt(dynamic value) {
  return int.tryParse('$value');
}