toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final name = this.name;
  final classification = this.classification;
  final rowTag = this.rowTag;
  return {
    'Name': name,
    if (classification != null) 'Classification': classification,
    if (rowTag != null) 'RowTag': rowTag,
  };
}