Service for fetching user data that is currently logged in in the main app.
User information from the remote - UserData
UserData is the data returned from
'id': <id>, 'full_name': <name>, 'email': <email> 'phone': <phone>, 'is_paid_company': <company>, 'company_id': <company>
;// you should call init on application start;const userInfo = await ;
init(myHost: string, user: UserData): void
Initializes the service (myHost is required).
Fetches remote info
const userInfo = await ;