getOptions function Null safety
Get camera options. The options must be a String list.
Example with inline options:
getOptions(['_filter', 'offDelay', 'sleepDelay']);
Example with variable
List<String> options = ['_filter', 'offDelay', 'sleepDelay'];
getOptions(options);
Implementation
Future<String> getOptions(List<String> options) async {
var response =
await command('getOptions', parameters: {'optionNames': options});
return response.toString();
}