toJson method

Map<String, dynamic> toJson()

Implementation

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