name property

String get name

Implementation

String get name {
  switch (this) {
    case PreferencesView.sensitivePersonalInformation:
      return "sensitive-personal-information";
    case PreferencesView.vendors:
      return "vendors";
    default:
      // purposes is the default value
      return "purposes";
  }
}