Query.fromJson constructor

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

Implementation

Query.fromJson(Map<String, dynamic> json) {
  from = json['from'];
  to = json['to'];
}