loginWithGoogle method
Implementation
ResultOrError<UserModel> loginWithGoogle(String uid) async {
final response = await _auth.loginWithGoogle(uid);
return response.fold(
Left.new,
(r) {
token.bearer = r.token;
user = r;
return Right.new(r);
},
);
}