core.Map<core.String, core.dynamic> toJson() => { if (impersonatedUser != null) 'impersonatedUser': impersonatedUser!, };