ResponseStatus constructor

ResponseStatus(
  1. String status,
  2. String? message,
  3. String? data, {
  4. String? error,
})

Constructs a ResponseStatus with the provided status, message, and data.

Implementation

ResponseStatus(this.status, this.message, this.data , {this.error});