RADRetrieve constructor
RADRetrieve({})
Implementation
factory RADRetrieve({
RADType? kind,
String? url,
List<int>? script,
List<int>? body = null,
Iterable<StringPair>? headers,
}) {
final _result = create();
_result.kind = ((kind != null) ? kind : null)!;
if (kind != null) {
_result.kind = kind;
}
if (url != null) {
_result.url = url;
}
if (script != null) {
_result.script = script;
}
if (body != null) {
_result.body = body;
}
if (headers != null) {
_result.headers.addAll(headers);
}
return _result;
}