toMap method

Map<String, dynamic> toMap()

todo:here need to be changed as well

Implementation

Map<String,dynamic> toMap(){
  return {"count":count,"data":data};
}