SuggestResponse.fromJson constructor
Implementation
factory SuggestResponse.fromJson(Map<String, dynamic> json) {
return SuggestResponse(
status: json['status'] != null
? SuggestStatus.fromJson(json['status'] as Map<String, dynamic>)
: null,
suggest: json['suggest'] != null
? SuggestModel.fromJson(json['suggest'] as Map<String, dynamic>)
: null,
);
}