login method

Implementation

Future<Either<BaseException, AuthProfileModel>> login(AuthLoginParams params) {
  return post(
    AuthUrls.login,
    body: params.toMap(),
    mapper: (json) => AuthProfileModel.fromMap(json),
  );
}