setServer method
Method is used to set server url
server custom server url in format: http[s]://example.com
Example:
// Set server URL (optional)
_sdk?.setServer('https://custom.navigine.com');
Implementation
@override
void setServer(String server) {
final _setServerFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Void Function(Pointer<Void>, NativeString),
void Function(Pointer<Void>, NativeString)
>('navigine_sdk_flutter_NavigineSdk_setServer__Server'));
_setServerFfi(this.ptr, toNativeString(server));
exception.checkCallResult();
}