setDevIndicator method

Future<void> setDevIndicator({
  1. required bool enabled,
})

Implementation

Future<void> setDevIndicator({required bool enabled}) async {
  final choice = enabled ? DevIndicatorChoice.enabled : DevIndicatorChoice.disabled;
  await saveChoice(
    storage: _storage,
    key: devIndicatorKey(publicKey),
    value: choice.value,
  );
  _commit(devIndicator: choice);
}