StreamedResponseCopyWith extension
Extends StreamedResponse to provide copied instances.
Methods
-
copyWith(
{Stream< List< ? stream, int? statusCode, int? contentLength, BaseRequest? request, Map<int> >String, String> ? headers, bool? isRedirect, bool? persistentConnection, String? reasonPhrase}) → StreamedResponse -
Available on StreamedResponse, provided by the StreamedResponseCopyWith extension
Creates a new instance of StreamedResponse based of onthis
. It copies all the properties and overrides the ones sent via parameters.