description property

String get description

Get descriptive text for the strength level

Implementation

String get description {
  switch (this) {
    case FSPasswordStrength.weak:
      return 'Add more characters and variety';
    case FSPasswordStrength.medium:
      return 'Good, but could be stronger';
    case FSPasswordStrength.strong:
      return 'Excellent password security';
  }
}