toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (horizontalAlignment != null)
        'horizontalAlignment': horizontalAlignment!,
      if (horizontalSizeStyle != null)
        'horizontalSizeStyle': horizontalSizeStyle!,
      if (verticalAlignment != null) 'verticalAlignment': verticalAlignment!,
      if (widgets != null) 'widgets': widgets!,
    };