APIError constructor
APIError(
- int data, {
- APIErrorType type = APIErrorType.local,
- String body = '',
API Error constructor
Does not provide side effects; Type defaults to local
Implementation
APIError(this.data, {this.type = APIErrorType.local, this.body = ''});