list property

List<String> get list

Implementation

List<String> get list => use
    .replaceAll(RegExp(r'\b(and|And|AND)\b', caseSensitive: false), ',')
    .replaceAll(RegExp(r'\s*,\s*'), ',')
    .replaceAll(RegExp(r'\s+'), ' ')
    .replaceAll(RegExp(r',+'), ',')
    .trim()
    .split(",");