enablePremiumProgressBar method

Future<void> enablePremiumProgressBar(
  1. bool value, {
  2. String? reason,
})

Set the server's enabled premium features.

await server.enablePremiumProgressBar(true, reason: 'Testing');

Implementation

Future<void> enablePremiumProgressBar(bool value, {String? reason}) async {
  await _serverPart.updateServer(
      id, {'premium_progress_bar_enabled': value}, reason);
}