copyListString function

List<String>? copyListString(
  1. List<String>? list
)

Copies list as a List<String>.

Implementation

List<String>? copyListString(List<String>? list) {
  if (list == null) return null;
  return List<String>.from(list);
}