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