convertStringIntoStringList method
- @Deprecated('Use StringExtensions.convertToListString() or top-level convertStringIntoStringList(String) instead.')
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(', ');
}