authenticateUser method

Future<Response> authenticateUser({
  1. required dynamic firstName,
  2. required dynamic lastName,
  3. required dynamic about,
  4. required dynamic profileImg,
  5. required dynamic token,
  6. dynamic partnerId,
})

Implementation

Future<http.Response> authenticateUser(
    {required firstName,
    required lastName,
    required about,
    required profileImg,
    required token,
    partnerId}) {
  return get(
      Uri.parse(
          '$apiURL/users/authenticateUser?firstName=$firstName&lastName=$lastName&about=$about&profileImg=$profileImg&token=$token&partnerId=$partnerId'),
      headers: {
        "token":
            "cnejwi8c9wehnd8fchni2x239jxexnjx2n23i8xn3oifr0cwd32fjnrf453vreve"
      });
}