Randomly select an item from a list using Random from dart:math

import 'dart:math';

...

int min = 0;
int max = somList.length - 1;
Random rnd = new Random();

int r = min + rnd.nextInt(max - min);

return someList[r];