magento2 – How to add “Use Default Value” checkbox for custom form field

I have created a form by exending MagentoBackendBlockWidgetFormGeneric class in my class.

I am adding a field using $fieldset->addField() to my form for which I need to add “Use Default Value” checkbox field like below screenshot.

enter image description here

This is done by setting

'service' => (
    'template' => 'ui/form/element/helper/service',

in data provider for ui_component forms.
Any idea on how to set it for my addField function? I have tried it adding as a config parameter but its not working.

        'name' => 'field',
        'label' => __('Field'),
        'title' => __('Field'),
        'required' => true,
        'service' => (
            'template' => 'ui/form/element/helper/service',