firstOrNull method

E? firstOrNull()

Implementation

E? firstOrNull() {
  try {
    return first;
  } catch (e) {}
  return null;
}