As T. Jami point in the comments of the original post, buscarOf should be an arrow function, so changing its definition to
buscarOF = async (autoPlay: boolean) => {
//implementation of the method here
}
solved the problem and this is not undefined anymore