synchronizeUserData method
Force sending all pending user data to server. Preconditions:
- Shouldn't be called more than once per 120 seconds.
- SDK should not be uninitialized. Returns a result indicating wether there are further trips are in queue waiting to be uploaded. true means queue is empty.
Implementation
@override
Future<bool> synchronizeUserData() async {
final result =
await methodChannel.invokeMethod<bool>('synchronizeUserData');
return result ?? false;
}