random property

Top random

Get random Top

Implementation

static Top get random {
  return Top(
    topType: randomPiece(TopType.values),
    accessoriesType: randomPiece(AccessoriesType.values),
    hatColor: randomPiece(HatColor.values),
    hairColor: randomPiece(HairColor.values),
    facialHair: FacialHair.random,
  );
}