getInputPropertiesListPropertyItems method
Gets the items of a list property from an input's properties.
- Complexity Rating: 3/5
- Latest Supported RPC Version: 1
- Added in v5.0.0
Implementation
Future<InputPropertiesListPropertyItemsResponse>
getInputPropertiesListPropertyItems({
String? inputName,
String? inputUuid,
required String propertyName,
}) async {
if (inputName == null && inputUuid == null) {
throw ArgumentError('inputName or inputUuid must be provided');
}
final response = await obsWebSocket.sendRequest(
Request(
'GetInputPropertiesListPropertyItems',
requestData: {
'inputName': inputName,
'inputUuid': inputUuid,
'propertyName': propertyName,
},
),
);
return InputPropertiesListPropertyItemsResponse.fromJson(
response!.responseData!,
);
}