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