Flu shot

I'm a nurse and as most people know now a days just about all facilities and hospitals require employees to take the flu shot . I have taken it once before because of this . I personally do not want it and don't see the need for it I rather wear a mask all season than take it yet most places seem to be making it non optional and forced or taken off the schedule . Now I am 7 months pregnant . Is it safe to take while pregnant ? Does anyone have any information on this subject it ? Thank you