This method from coil is not working for me

I am trying to use this from coil but having no luck. Any suggestions please. Thanks