setUseDynamicConfig method

Future<void> setUseDynamicConfig(
  1. bool useDynamicConfig
)

Dynamically adjust server URL

Implementation

Future<void> setUseDynamicConfig(bool useDynamicConfig) async {
  Map<String, dynamic> properties = _baseProperties();
  properties['useDynamicConfig'] = useDynamicConfig;

  return await _channel.invokeMethod(
      'setUseDynamicConfig', jsonEncode(properties));
}