castOrNull<R> method
convert to other
Implementation
List<R>? castOrNull<R>() {
try {
return cast<R>();
} catch (e) {
return null;
}
}
convert to other
List<R>? castOrNull<R>() {
try {
return cast<R>();
} catch (e) {
return null;
}
}