ApiResponse<T> constructor Null safety

ApiResponse<T>(
  1. {String? error,
  2. String? errorCode,
  3. T? res}
)

Implementation

ApiResponse({this.error, this.errorCode, this.res});