Dear member, in the remarks while starting this thread, you have not disclosed whether your appointment is either as a "consultant," "on contract," or on a "consolidated wages/salary" basis. I hope you may indicate the same so that the seniors may be able to express the correct views. So far as I understand, in any engagement as a "consultant," there is no employer-employee relationship, and such engagement is on terms and conditions as mentioned in the agreement. Consultants like law advocates, etc., are working for many firms and are not bound by the terms and conditions of employment as may be applicable in any industry or business.
However, in order to learn about some court cases, please see the following thread on this citeHR:
https://www.citehr.com/521552-maternity-leave.html
The cases mentioned in the above thread primarily relate to situations like "on contract" or "on consolidated salary," and no such case of a "consultant" could be found.