getStringList method

List<String> getStringList({
  1. List<String>? defaultValue,
})

Implementation

List<String> getStringList({List<String>? defaultValue}) {
  List<dynamic> list = toList(_value, defaultValue: defaultValue);
  return list is List<String> ? list : defaultValue ?? [];
}