toService method

DerivationService toService()

Implementation

DerivationService toService() {
  switch (this) {
    case DerivationStrategy.pbkdf2Hmac:
      return Pbkdf2Hmac();
  }
}