name property

String? name

Implementation

String? get name {
  switch (this) {
    case Classification.public:
      return 'PUBLIC';
    case Classification.private:
      return 'PRIVATE';
    case Classification.confidential:
      return 'CONFIDENTIAL';
    case Classification.other:
      return null;
  }
}