ObsSetStreamSettingsStreamingCommand constructor Null safety

ObsSetStreamSettingsStreamingCommand()

Implementation

ObsSetStreamSettingsStreamingCommand() {
  argParser
    ..addOption('type',
        defaultsTo: 'rtmp_custom',
        allowed: ['rtmp_custom', 'rtmp_common'],
        help:
            'The type of streaming service configuration, usually rtmp_custom or rtmp_common.')
    ..addOption('server', help: 'The publish URL.')
    ..addOption('key', help: 'The publish key.')
    ..addFlag('save',
        defaultsTo: false, help: 'Persist the settings to disk.');
}