toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (placeholder != null) 'placeholder': placeholder!,
if (shapeProperties != null) 'shapeProperties': shapeProperties!,
if (shapeType != null) 'shapeType': shapeType!,
if (text != null) 'text': text!,
};