Query.fromJson constructor

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

Implementation

factory Query.fromJson(Map<String, dynamic> json) {
  return Query(
    action: json['action'] == null ? null : QueryAction.values[json['action']],
    providerArgs: json['providerArgs'],
    where: json['where'] == null ? null : json['where'].map((w) => WhereCondition.fromJson(w)),
  );
}