PresentationRequest constructor
- dynamic url_OR_urls
Implementation
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");
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/PresentationRequest/PresentationRequest.html