cloneWith method
- {String path,
- List<
String> methods, - Map<
String, String> pathRegEx, - int statusCode,
- String mimeType,
- String charset = kDefaultCharset,
- ResponseProcessor responseProcessor}
override
Implementation
HttpMethod cloneWith(
{String path,
List<String> methods,
Map<String, String> pathRegEx,
int statusCode,
String mimeType,
String charset = kDefaultCharset,
ResponseProcessor responseProcessor}) =>
HttpMethod(
path: path ?? this.path,
methods: methods ?? this.methods,
pathRegEx: pathRegEx ?? this.pathRegEx,
statusCode: statusCode ?? this.statusCode,
mimeType: mimeType ?? this.mimeType,
charset: charset ?? this.charset,
responseProcessor: responseProcessor ?? this.responseProcessor);