logToFirebase static method

void logToFirebase(
  1. String errorStackTrace
)

Implementation

static void logToFirebase(String errorStackTrace) {
  if (kDebugMode) {
    print(errorStackTrace);
  }
  // FirebaseCrashlytics.instance.recordError(
  //   errorStackTrace,
  //   null,
  //   reason: 'Error Stack Trace',
  // );
}