toStrings static method

Iterable<String?> toStrings(
  1. Iterable list, {
  2. String? defaultValue,
})

Implementation

static Iterable<String?> toStrings(Iterable list, {String? defaultValue}) =>
    list.map((v) => v?.toString() ?? defaultValue);