QWImageFilters.fromJson constructor

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

Implementation

QWImageFilters.fromJson(Map<String, dynamic> json) {
  size = json['size'] != null ? QWSize.fromJson(json['size']) : null;
  license = json['license'] != null ? QWSize.fromJson(json['license']) : null;
  freshness =
      json['freshness'] != null ? QWSize.fromJson(json['freshness']) : null;
  color = json['color'] != null ? QWSize.fromJson(json['color']) : null;
  imagetype =
      json['imagetype'] != null ? QWSize.fromJson(json['imagetype']) : null;
  source = json['source'] != null ? QWSize.fromJson(json['source']) : null;
}