функция
- @Deprecated("Только для внутреннего использования")
Проверка, что если какие-либо элементы args являются Function, то передача в JavaScript безопасна. Для обеспечения безопасности функции, вызовите allowInterop или allowInteropCaptureThis.
Исходный код
@Deprecated("Internal Use Only")
void argsSafeForTypedInterop(Iterable args) {
for (var arg in args) {
safeForTypedInterop(arg);
}
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-js/argsSafeForTypedInterop.html