code property

String get code

Returns the string code representation of the narrative status.

Implementation

String get code {
  switch (this) {
    case NarrativeStatus.generated:
      return 'generated';
    case NarrativeStatus.extensions:
      return 'extensions';
    case NarrativeStatus.additional:
      return 'additional';
    case NarrativeStatus.empty:
      return 'empty';
  }
}