setUser method
Implementation
Future<void> setUser(Map<String, dynamic> userDetails) async {
try {
final replacedUserDetails =
replaceKeys(userDetails, _userMapping, _userRequiredCol);
await _setUserRequest('$baseUrl/api/v1/user/update', replacedUserDetails);
} catch (error) {
print(error);
}
}