toStringList method

List<String> toStringList()

Implementation

List<String> toStringList() {
  if (this.isNotNullOrBlank) {
    return [this!];
  } else {
    return const [];
  }
}