演示请求 构造函数
- dynamic url_OR_urls
实现
factory PresentationRequest(url_OR_urls) {
if ((url_OR_urls is String)) {
return PresentationRequest._create_1(url_OR_urls);
}
if ((url_OR_urls is List<String>)) {
List urls_1 = convertDartToNative_StringArray(url_OR_urls);
return PresentationRequest._create_2(urls_1);
}
throw new ArgumentError("Incorrect number or type of arguments");
}