toJson method
Implementation
Map<String, dynamic> toJson() {
return {
if (containerBorder != null) 'containerBorder': containerBorder!.toJson(),
if (lineSeparator != null) 'lineSeparator': lineSeparator!.toJson(),
if (itemSeparator != null) 'itemSeparator': itemSeparator!.toJson(),
if (mainDistributedSpace != null)
'mainDistributedSpace': mainDistributedSpace!.toJson(),
if (crossDistributedSpace != null)
'crossDistributedSpace': crossDistributedSpace!.toJson(),
if (rowGapSpace != null) 'rowGapSpace': rowGapSpace!.toJson(),
if (columnGapSpace != null) 'columnGapSpace': columnGapSpace!.toJson(),
if (crossAlignment != null) 'crossAlignment': crossAlignment!.toJson(),
};
}