How does the Keyboard.print() function work?

I am currently working with the keyboard library and was wondering how at the lower level these keyboard functions(APIs) work. I did find the definition for write(), press() and others but cannot find the println() definition here.
I'm a beginner to USB and cpp so please help me out here :confused:

It inherits from the Print class, which is part of the Arduino core library. Each hardware package has its own copy of the core library, but the Print class should be the same on all of them. Here is the implementation in Arduino AVR Boards:

In order to avoid this code duplication, Arduino has embarked on the ArduinoCore-API project, which allow all the hardware packages to share the non-architecture specific parts of the core library:

It's already in use in the Arduino megaAVR Boards and Arduino Mbed Boards cores, as well as a few 3rd party cores, but has not yet been used in the other official Arduino cores.

Thanks, had a look at keyboard.h where Print class is inherited and write() method is overridden.
Once again thank you @pert

You're welcome. I'm glad if I was able to be of assistance. Enjoy!
Per