setDeveloperOption method

dynamic setDeveloperOption(
  1. String key,
  2. bool value
)

Set boolean developer option. If already exist, update value with that key

Implementation

setDeveloperOption(String key, bool value) async {
  await _developerOptionsService.setDeveloperOption(key, value);
}