consentService property Null safety

void consentService=(ConsentService consentService)

Implementation

set consentService(ConsentService consentService) =>
    _consentService = consentService;