getSourceActive method Null safety
- String sourceName
Get the source's active status of a specified source (if it is showing in the final mix).
Implementation
Future<bool> getSourceActive(String sourceName) async {
final response = await command('GetSourceActive');
if (response == null) {
throw Exception('Problem getting source response');
}
return response.rawResponse['sourceActive'] == 'true';
}