1. Legality - I think if a parent gives consent, how would it not be legal? But IANAL
2. No parent should expect a someone to care for their child unless they are paying for childcare...and you are not paying for childcare by taking a flight.
I would never expect this from an FA when travelling with my child.