@override Object toJson() => { if (function != null) 'function': function!.toJson(), if (updateMask != null) 'updateMask': updateMask!.toJson(), };