toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['total'] = this._total;
data['lastPage'] = this._lastPage;
data['perPage'] = this._perPage;
data['currentPage'] = this._currentPage;
/*if (this._items != null) {
data['items'] = this._items.map((v) => v.toJson()).toList();
}*/
return data;
}