setServerUrl method

Future<void> setServerUrl(
  1. String serverUrl
)

Customize the destination for server url.

Implementation

Future<void> setServerUrl(String serverUrl) async {
  Map<String, dynamic> properties = _baseProperties();
  properties['serverUrl'] = serverUrl;

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