toJson method

Map<String, dynamic> toJson()

Implementation

Map<String,dynamic> toJson() => {
  'userid':userid,
  'id':id,
  'label':label,
  'time':time,
  'isPending':isPending
};