QueryResponse.fromJson constructor

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

Implementation

factory QueryResponse.fromJson(Map<String, dynamic> json) {
  return QueryResponse(
    status: json['status'],
    code: json['code'],
    data: QueryData.fromJson(json['data']),
    errorMessage: json['errorMessage'],
  );
}