APIResponse<T> constructor

APIResponse<T>({
  1. dynamic data,
  2. bool error = false,
  3. dynamic message,
})

Implementation

APIResponse({this.data, this.error=false, this.message});