QWMediaNews.fromJson constructor

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

Implementation

QWMediaNews.fromJson(Map<String, dynamic> json) {
  pict = json['pict'] != null ? QWPict.fromJson(json['pict']) : null;
  pictBig =
      json['pict_big'] != null ? QWPict.fromJson(json['pict_big']) : null;
}