convertStringIntoStringList method

  1. @Deprecated('Use StringExtensions.convertToListString() or top-level convertStringIntoStringList(String) instead.')
List<String> convertStringIntoStringList()

Implementation

@Deprecated(
    'Use StringExtensions.convertToListString() or top-level convertStringIntoStringList(String) instead.')
List<String> convertStringIntoStringList() {
  // Preserve legacy behavior for backward compatibility.
  return length <= 2 ? [] : substring(1, length - 1).split(', ');
}