QueryError.fromJson constructor

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

Implementation

factory QueryError.fromJson(Map<String, dynamic> json) {
  return QueryError(
    errorCode: (json['ErrorCode'] as String?)?.toQueryErrorCode(),
    message: json['Message'] as String?,
  );
}