Ionic 4 How do I use cordova firebase.dynamiclinks plugin?

I want to implement dynamic link in my ionic project… I have installed following 2 plugins for the same.

  • ionic cordova plugin add cordova-plugin-firebase-dynamiclinks
  • npm install @ionic-native/firebase-dynamic-links

Now I want to create dynamic link and for that I want to use
cordova.plugins.firebase.dynamiclinks.createDynamicLink(parameters) method. But when I implemented this method I got error Property ‘firebase’ does not exist on type ‘CordovaPlugins’.
How to use this plugin’s method in ionic 4 project…?