QueryInfo.fromJson constructor

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

Implementation

factory QueryInfo.fromJson(Map<String, dynamic> json) {
  return QueryInfo(
    createTime: json['createTime'] as int?,
    logGroupName: json['logGroupName'] as String?,
    queryId: json['queryId'] as String?,
    queryString: json['queryString'] as String?,
    status: (json['status'] as String?)?.toQueryStatus(),
  );
}