Filter.fromJson constructor

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

Implementation

Filter.fromJson(Map<String, dynamic> json) {
  ids = json['ids'] == null ? null : List<String>.from(json['ids']);
  authors =
      json['authors'] == null ? null : List<String>.from(json['authors']);
  kinds = json['kinds'] == null ? null : List<int>.from(json['kinds']);
  eTags = json['#e'] == null ? null : List<String>.from(json['#e']);
  pTags = json['#p'] == null ? null : List<String>.from(json['#p']);
  tTags = json['#t'] == null ? null : List<String>.from(json['#t']);
  since = json['since'];
  until = json['until'];
  limit = json['limit'];
}