Cannot read property 'save' of undefined ionic 3 screenshot

async saveScreenshot(){
try{

 await this.platform.ready(); 
 const res = await this.screenshot.save('jpg', 80 , 'screenshot');
 console.log(res);      

}
catch(e){
console.error(e);
}

}