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