SQLResponseOf<T extends Object?>.error constructor

SQLResponseOf<T extends Object?>.error({
  1. string? message,
  2. string dataSetType = "table",
  3. string? sql,
})

Implementation

factory SQLResponseOf.error({string? message, string dataSetType = "table", string? sql}) => SQLResponseOf<T>(hasData: false, sql: sql ?? "", status: "error", hasError: true, message: message ?? "error", dataSetType: dataSetType, data: null);