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