intsFrom function

Iterable<int?> intsFrom(
  1. List list
)

Implementation

Iterable<int?> intsFrom(List<dynamic> list) sync* {
  for (var item in list) {
    try {
      final value = int.parse(item.toString());
      yield value;
    } on FormatException {
      yield null;
    } catch (e) {
      exceptionMode('unexpected error, underlying error');
    }
  }
}