RequestError constructor

RequestError({
  1. int? requestId,
  2. int? statusCode,
  3. String? error,
})

Implementation

factory RequestError({
  $core.int? requestId,
  $core.int? statusCode,
  $core.String? error,
}) {
  final _result = create();
  if (requestId != null) {
    _result.requestId = requestId;
  }
  if (statusCode != null) {
    _result.statusCode = statusCode;
  }
  if (error != null) {
    _result.error = error;
  }
  return _result;
}