ApiResponse<T>.error constructor
Null safety
Implementation
ApiResponse.error({
this.message,
this.statusCode,
this.data,
}) : status = ApiStatus.ERROR;
ApiResponse.error({
this.message,
this.statusCode,
this.data,
}) : status = ApiStatus.ERROR;