toJson method
Implementation
@override
Map<String, dynamic> toJson() {
final Map<String, dynamic> json = <String, dynamic>{};
if (borderColor != null) {
json['borderColor'] = borderColor;
}
if (borderWidth != null) {
json['borderWidth'] = borderWidth;
}
if (cellHeight != null) {
json['cellHeight'] = cellHeight;
}
if (columns != null) {
json['columns'] = columns!.map((e) => e.toJson()).toList();
}
if (enabled != null) {
json['enabled'] = enabled;
}
return json;
}