toCharArray method

  1. @Deprecated('Use toList() instead')
List<String> toCharArray()

Returns a list of chars from a String

Implementation

@Deprecated('Use toList() instead')
List<String> toCharArray() =>
    this != null && validate().trim().isNotEmpty ? validate().split('') : [];