kind property
Kind for Uint64Kind
.
The purpose of annotation @protected
is reducing accidental use.
Implementation
@protected
static final EntityKind<Uint64Kind> kind = EntityKind<Uint64Kind>(
name: 'Uint64Kind',
define: (c) {
final min = c.optionalUint64(
id: 1,
name: 'min',
getter: (t) => t.min,
);
final max = c.optionalUint64(
id: 2,
name: 'max',
getter: (t) => t.max,
);
final safeInJs = c.requiredBool(
id: 3,
name: 'safeInJs',
getter: (t) => t.safeInJs,
);
c.constructorFromData = (data) => Uint64Kind(
min: data.get(min),
max: data.get(max),
safeInJs: data.get(safeInJs),
);
},
);