ApiResponse<T>.error constructor

ApiResponse<T>.error(
  1. String? message
)

Implementation

ApiResponse.error(this.message) : status = Status.ERROR;