setStreamSettings method Null safety

Future<void> setStreamSettings(
  1. StreamSetting streamSetting
)

Sets one or more attributes of the current streaming server settings. Any options not passed will remain unchanged. Returns the updated settings in 'response'. If 'type' is different than the current streaming service type, all settings are required. Returns the full settings of the stream (the same as 'GetStreamSettings').

Implementation

Future<void> setStreamSettings(StreamSetting streamSetting) async {
  await command('SetStreamSettings', streamSetting.toJson());
}