setOption function Null safety

Future<String> setOption(
  1. {required String name,
  2. 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();
}