collect method

  1. @override
PlatformSetup collect()
override

Collects and returns the value produced by this wizard step.

Implementation

@override
PlatformSetup collect() {
  LoggerService.blank();

  LoggerService.info('Platforms');

  return PlatformSetup(
    android: PromptService.confirm(
      'Enable Android?',
      defaultValue: true,
    ),
    ios: PromptService.confirm(
      'Enable iOS?',
      defaultValue: true,
    ),
    web: PromptService.confirm(
      'Enable Web?',
      defaultValue: true,
    ),
  );
}