toMap method
- @override
model -> map
Implementation
@override
Map<String, Object> toMap() {
return {
'keywords': this.keywords?.map((e) => e)?.toList(),
'tags': this.tags?.map((e) => e)?.toList(),
'location': this.location?.toMap(),
'radius': this.radius,
'isRadiusLimit': this.isRadiusLimit,
'scope': this.scope.index,
'filter': this.filter?.toMap(),
'pageIndex': this.pageIndex,
'pageSize': this.pageSize
};
}