SearchModel.fromMap constructor
Implementation
factory SearchModel.fromMap(Map<String, dynamic> map) {
return SearchModel(
query: map['query'],
trigger: map['trigger'],
service: map['service'],
mode: map['mode'],
filters: map['filters'],
ordering: map['ordering'],
sessionId: map['sessionId'],
userId: map['userId'],
device: map['device'],
os: map['os'],
lang: map['lang'],
);
}