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}) → BaseResponseint> > -
Creates a new instance of BaseResponse based of on
this
. It copies all the properties and overrides the ones sent via parameters.