idField constant
Field definition for id.
Implementation
static const idField = FieldDefinition(
name: 'id',
getValue: _getId,
description: '''
The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.''',
cardinality: Cardinality(
min: 0,
max: IntegerChoice(1),
),
);