execute method

  1. @override
Future<void> execute()
override

execute command

Implementation

@override
Future<void> execute() async {
  return createView(
    name,
    withArgument: withArgument.isEmpty
        ? PubspecUtilsTemplates.pageTemplate
        : withArgument,
    onCommand: onCommand,
  );
}