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