toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'user': user.toJson(),
    'text': text,
    'date': date,
    'category': category,
    'categorydetail': categorydetail,
    'categorydetailID': categorydetailID,
    'enableButtons': enableButtons,
  };
}