QWNewsFilters.fromJson constructor

QWNewsFilters.fromJson(
  1. Map<String, dynamic> json
)

Implementation

QWNewsFilters.fromJson(Map<String, dynamic> json) {
  order = json['order'] != null ? QWOrder.fromJson(json['order']) : null;
  freshness =
      json['freshness'] != null ? QWOrder.fromJson(json['freshness']) : null;
  source = json['source'] != null ? QWOrder.fromJson(json['source']) : null;
}