Dart Documentationrandomlist.dartRandomListItem

RandomListItem class

a wrapper item for use with a RandomList

class RandomListItem {

 static const RandomListItem NULL_LIST_ITEM = new RandomListItem( null, null, null );

 static const int WEIGHT_TYPE_BASIC = 0;
 static const int WEIGHT_TYPE_DROPS = 1;
 static const int WEIGHT_TYPE_INCREASES = 2;
 static const int WEIGHT_TYPE_DYNAMIC = 3;
 /// BOTH drop and increase specified
 static const int WEIGHT_TYPE_DROP_INCREASE = 4;

}

Static Properties

const RandomListItem NULL_LIST_ITEM #

static const RandomListItem NULL_LIST_ITEM = new RandomListItem( null, null, null )

const int WEIGHT_TYPE_BASIC #

static const int WEIGHT_TYPE_BASIC = 0

const int WEIGHT_TYPE_DROP_INCREASE #

BOTH drop and increase specified

static const int WEIGHT_TYPE_DROP_INCREASE = 4

const int WEIGHT_TYPE_DROPS #

static const int WEIGHT_TYPE_DROPS = 1

const int WEIGHT_TYPE_DYNAMIC #

static const int WEIGHT_TYPE_DYNAMIC = 3

const int WEIGHT_TYPE_INCREASES #

static const int WEIGHT_TYPE_INCREASES = 2