NetworkResult<T> constructor

NetworkResult<T>({
  1. T? data,
  2. dynamic errorData,
  3. Response? response,
  4. Exception? exception,
  5. int? statusCode,
  6. String? statusMessage,
})

Implementation

NetworkResult({
  T? data,
  dynamic errorData,
  Response? response,
  Exception? exception,
  int? statusCode,
  String? statusMessage,
}) : super(
        data: data,
        errorData: errorData,
        response: response,
        exception: exception,
        statusCode: statusCode,
        statusMessage: statusMessage,
      );