isFirebaseEx function

bool isFirebaseEx(
  1. dynamic e
)

Implementation

bool isFirebaseEx(e) {
  bool isFirebaseException;
  try {
    isFirebaseException = isNonNull(e.code) && isNonNull(e.message);
  } catch (e) {
    isFirebaseException = false;
  }
  return isFirebaseException;
}