toJson method
Implementation
Map<String, dynamic> toJson() {
final dimensions = this.dimensions;
final name = this.name;
final segmentGroups = this.segmentGroups;
final tags = this.tags;
return {
if (dimensions != null) 'Dimensions': dimensions,
if (name != null) 'Name': name,
if (segmentGroups != null) 'SegmentGroups': segmentGroups,
if (tags != null) 'tags': tags,
};
}