nullableMappedToIntList static method

List<int>? nullableMappedToIntList(
  1. String? value
)

Implementation

static List<int>? nullableMappedToIntList(String? value) =>
    value?.toString().split(',').map((item) => int.parse(item)).toList();