toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'category': this.category,
      'id': this.id,
      'name': this.name,
      'time': this.time,
      'timestamp': this.timestamp,
    };