statusField constant

FieldDefinition<AppointmentStatus> const statusField

Field definition for status

Implementation

static const statusField = FieldDefinition(
  name: 'status',
  getValue: _getStatus,
  cardinality: Cardinality(min: 1),
  allowedStringValues: [
    'proposed',
    'booked',
    'arrived',
    'fulfilled',
    'cancelled',
    'noshow',
    'entered-in-error',
  ],
  description: 'The overall status of the appointment.',
);