sample method Null safety

Iterable<String> sample(
  1. Iterable<String> entries
)

Samples a collection of entries

  • entries: The list of entries to sample

Returns a new collection sampled from the original

Implementation

Iterable<String> sample(Iterable<String> entries);