fromString method Null safety

AnyValueArray fromString(
  1. String? values,
  2. String separator,
  3. [bool removeDuplicates = false]
)

Splits specified string into elements using a separator and assigns the elements to a newly created AnyValueArray.

  • values a string value to be split and assigned to AnyValueArray
  • separator a separator to split the string
  • removeDuplicates (optional) true to remove duplicated elements Returns a newly created AnyValueArray.