JqlQuery.fromJson constructor

JqlQuery.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory JqlQuery.fromJson(Map<String, Object?> json) {
  return JqlQuery(
    orderBy: json[r'orderBy'] != null
        ? JqlQueryOrderByClause.fromJson(
            json[r'orderBy']! as Map<String, Object?>)
        : null,
    where: json[r'where'] != null
        ? JqlQueryClause.fromJson(json[r'where']! as Map<String, Object?>)
        : null,
  );
}