toNullableArray method

List toNullableArray (dynamic value)
  • Converts value into array object. Single values are converted into arrays with a single element.
  • value the value to convert.
    • Returns array object or null when value is null.