Something like: this._indicator.set_corner_mark('1');
this._indicator.set_corner_mark('1');
Dash To Panel Taskbar has corner mark:
I guess it’s a normal 'St.Label' with 'notification-badge' style class as shown in the following code.
'St.Label'
'notification-badge'