BaseResponseCopyWith extension
- on
Methods
-
copyWith(
{int? statusCode, BaseRequest? request, Map< String, String> ? headers, bool? isRedirect, bool? persistentConnection, String? reasonPhrase, String? body, Stream<List< ? stream, int? contentLength, HttpClientResponse? inner}) → BaseResponseint> > -
Available on BaseResponse, provided by the BaseResponseCopyWith extension
Creates a new instance of BaseResponse based of onthis
. It copies all the properties and overrides the ones sent via parameters.