hasPhoneOtpFeatures static method

bool hasPhoneOtpFeatures()

Returns whether phone OTP starter features are enabled.

Implementation

static bool hasPhoneOtpFeatures() {
  return Config.get<bool>(
        'magic_starter.features.phone_otp',
        _defaultPhoneOtp,
      ) ??
      _defaultPhoneOtp;
}