onboardingFinished method
Implementation
Future<void> onboardingFinished(
String userId, Map<String, dynamic> payload) async {
try {
final callable = _functions.httpsCallable('callables-onboardingFinished');
payload['userId'] = userId;
await callable.call(payload);
} on FirebaseFunctionsException catch (e) {
// Handling FirebaseFunctionsException
throw UserDataServiceException.fromRdevException(e.toRdevException());
} catch (e) {
throw UserDataServiceException(message: e.toString());
}
}