Lines Matching refs:Race
56 class Race {
58 const Race._(this.value);
60 factory Race.fromValue(int value) {
63 throw new StateError('Invalid value $value for bit flag enum Race');
72 static const Race None = const Race._(-1);
73 static const Race Human = const Race._(0);
74 static const Race Dwarf = const Race._(1);
75 static const Race Elf = const Race._(2);
78 static const fb.Reader<Race> reader = const _RaceReader();
82 return 'Race{value: $value}';
86 class _RaceReader extends fb.Reader<Race> {
93 Race read(fb.BufferContext bc, int offset) =>
94 new Race.fromValue(const fb.Int8Reader().read(bc, offset));
803 …Race get signedEnum => new Race.fromValue(const fb.Int8Reader().vTableGet(_bc, _bcOffset, 100, -1)…
1018 int addSignedEnum(Race signedEnum) {
1076 final Race _signedEnum;
1126 Race signedEnum,