encounter The healthcare event (e.g. a patient and healthcare provider interaction) during which this task was created.
Reference? get encounter => throw _privateConstructorUsedError;