activateAccount static method
Future<AtOnboardingResult>
activateAccount({
- required BuildContext context,
- required AtOnboardingConfig config,
Implementation
static Future<AtOnboardingResult> activateAccount({
required BuildContext context,
required AtOnboardingConfig config,
}) async {
final result = await Navigator.push(context,
MaterialPageRoute(builder: (BuildContext context) {
return AtOnboardingActivateScreen(
hideReferences: false,
config: config,
);
}));
if (result is AtOnboardingResult) {
return result;
} else {
return AtOnboardingResult.cancelled();
}
}