execute method
execute command
Implementation
@override
Future<void> execute() async {
await createInitPattern();
final nullSafeMenu = Menu(
[LocaleKeys.options_yes.tr, LocaleKeys.options_no.tr],
title: LocaleKeys.ask_use_null_safe.tr);
final nullSafeMenuResult = nullSafeMenu.choose();
var useNullSafe = nullSafeMenuResult.index == 0;
if (useNullSafe) {
await ShellUtils.activatedNullSafe();
} else {
await ShellUtils.flutterAnalyze();
}
}