castFn method

List<String>? castFn(
  1. dynamic x
)

Implementation

List<String>? castFn(x) {
  List<String> r = [];
  if (x != null) {
    if (x is List) r = x.map((e) => '$e').toList();
  }
  return r;
}