phase static method
Asserts the terminal onboarding phase equals expected.
Implementation
static void phase(OnboardingPhase actual, OnboardingPhase expected) {
if (actual != expected) {
throw AuthAssertionError('expected phase $expected but got $actual');
}
}