listToArray method Null safety

List listToArray(
  1. dynamic value
)

Converts value into array object with empty array as default. Strings with comma-delimited values are split into array of strings.

  • value the list to convert. Returns array object or empty array when value is null

See toArray