toJson method

Map<String, dynamic> toJson()

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!,
};