setOption function Null safety
- {required String name,
- required dynamic value}
set single option
Implementation
Future<String> setOption({required String name, required dynamic value}) async {
var response = await command(
'setOptions',
parameters: {
'options': {name: value}
},
);
return response.toString();
}