toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (dashStyle != null) 'dashStyle': dashStyle!,
  if (endArrow != null) 'endArrow': endArrow!,
  if (endConnection != null) 'endConnection': endConnection!,
  if (lineFill != null) 'lineFill': lineFill!,
  if (link != null) 'link': link!,
  if (startArrow != null) 'startArrow': startArrow!,
  if (startConnection != null) 'startConnection': startConnection!,
  if (weight != null) 'weight': weight!,
};