getSourcesList method Null safety
List all sources available in the running OBS instance
Implementation
Future<SourcesListResponse> getSourcesList() async {
final response = await command('GetSourcesList');
if (response == null) {
throw Exception('Problem getting sourcesList response');
}
return SourcesListResponse.fromJson(response.rawResponse);
}