ApiError constructor

const ApiError(
  1. int errorCode,
  2. String errorMessage
)

Implementation

const ApiError(this.errorCode, this.errorMessage);