randomCase method
Implementation
String randomCase() => charMap((e) => e == " "
    ? " "
    : _r.nextBool()
        ? e.toUpperCase()
        : e.toLowerCase());String randomCase() => charMap((e) => e == " "
    ? " "
    : _r.nextBool()
        ? e.toUpperCase()
        : e.toLowerCase());