firstOrNull method
T?
firstOrNull()
Implementation
T? firstOrNull() {
try {
return first;
} catch (e) {
return null;
}
}
T? firstOrNull() {
try {
return first;
} catch (e) {
return null;
}
}