reset static method
Future<AtOnboardingResetResult>
reset({
- required BuildContext context,
- required AtOnboardingConfig config,
Implementation
static Future<AtOnboardingResetResult> reset({
required BuildContext context,
required AtOnboardingConfig config,
}) async {
/// Initial Setup
await _initialSetup(context);
if (context.mounted) {
final result = await Navigator.push(context,
MaterialPageRoute(builder: (BuildContext context) {
return AtOnboardingResetScreen(config: config);
}));
if (result is AtOnboardingResetResult) {
return result;
}
}
return AtOnboardingResetResult.cancelled;
}