toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autofit != null) 'autofit': autofit!,
      if (contentAlignment != null) 'contentAlignment': contentAlignment!,
      if (link != null) 'link': link!,
      if (outline != null) 'outline': outline!,
      if (shadow != null) 'shadow': shadow!,
      if (shapeBackgroundFill != null)
        'shapeBackgroundFill': shapeBackgroundFill!,
    };