randomString function

String randomString(
  1. int length
)

Implementation

String randomString(int length) =>
    List.generate(length, (index) => randomLetterOrNumber).join();