toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (backgroundColor != null) 'backgroundColor': backgroundColor!,
      if (borderBottom != null) 'borderBottom': borderBottom!,
      if (borderLeft != null) 'borderLeft': borderLeft!,
      if (borderRight != null) 'borderRight': borderRight!,
      if (borderTop != null) 'borderTop': borderTop!,
      if (columnSpan != null) 'columnSpan': columnSpan!,
      if (contentAlignment != null) 'contentAlignment': contentAlignment!,
      if (paddingBottom != null) 'paddingBottom': paddingBottom!,
      if (paddingLeft != null) 'paddingLeft': paddingLeft!,
      if (paddingRight != null) 'paddingRight': paddingRight!,
      if (paddingTop != null) 'paddingTop': paddingTop!,
      if (rowSpan != null) 'rowSpan': rowSpan!,
    };