label property

String get label

Implementation

String get label {
  switch (this) {
    case ConsentStatus.accept:
      return 'Accepted';
    case ConsentStatus.reject:
      return 'Rejected';
    case ConsentStatus.pending:
      return 'Pending';
  }
}